mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 16:55:46 +03:00
parent
52fbb774a2
commit
e4313d6651
4 changed files with 4 additions and 5 deletions
|
@ -35,7 +35,6 @@ Checks: >
|
||||||
-modernize-use-auto,
|
-modernize-use-auto,
|
||||||
-modernize-use-nodiscard,
|
-modernize-use-nodiscard,
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
-modernize-use-using,
|
|
||||||
-readability-function-cognitive-complexity,
|
-readability-function-cognitive-complexity,
|
||||||
-readability-function-size,
|
-readability-function-size,
|
||||||
-readability-identifier-length,
|
-readability-identifier-length,
|
||||||
|
|
|
@ -276,7 +276,7 @@ struct StructName {};
|
||||||
|
|
||||||
enum EnumName {};
|
enum EnumName {};
|
||||||
|
|
||||||
typedef QList<ClassName> SomeList;
|
using SomeList = QList<ClassName>;
|
||||||
|
|
||||||
namespace NamespaceName
|
namespace NamespaceName
|
||||||
{
|
{
|
||||||
|
|
|
@ -64,8 +64,8 @@ struct Sample
|
||||||
T upload {};
|
T upload {};
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef Sample<qlonglong> SpeedSample;
|
using SpeedSample = Sample<qlonglong>;
|
||||||
typedef Sample<qreal> SpeedSampleAvg;
|
using SpeedSampleAvg = Sample<qreal>;
|
||||||
|
|
||||||
class SpeedMonitor
|
class SpeedMonitor
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,4 +40,4 @@ enum class ShutdownDialogAction
|
||||||
Hibernate
|
Hibernate
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef QMap<QString, QString> QStringMap;
|
using QStringMap = QMap<QString, QString>;
|
||||||
|
|
Loading…
Reference in a new issue