forked from qt-creator/qt-creator
QtSingleApplication: Simplify chrono duration initialization
Change-Id: Id75505b67e7e37ca4be9566a70ccda89b7168971 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -213,7 +213,7 @@ public:
|
||||
private:
|
||||
bool m_inNotify = false;
|
||||
const QString m_align;
|
||||
std::chrono::milliseconds m_threshold = std::chrono::milliseconds(100);
|
||||
std::chrono::milliseconds m_threshold{100};
|
||||
};
|
||||
|
||||
QtSingleApplication *createApplication(const QString &id, int &argc, char **argv)
|
||||
|
Reference in New Issue
Block a user