diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-05-25 06:59:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 06:59:05 +0100 |
commit | 84e225109d413ec93537a15f354e86e872027e7c (patch) | |
tree | a7206246b69fc6740c1a8974503ffe4daa257e5b /singleapplication.h | |
parent | Merge pull request #103 from Shatur95/update_cmake_examples_version (diff) | |
parent | Fix Clang Tidy warnings (diff) | |
download | singleapplication-84e225109d413ec93537a15f354e86e872027e7c.tar.xz |
Merge pull request #104 from Shatur95/fix_clang_tidy_warnings
Fix Clang Tidy warnings
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/singleapplication.h b/singleapplication.h index 14c9615..fd806a3 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -43,7 +43,7 @@ class SingleApplication : public QAPPLICATION_CLASS { Q_OBJECT - typedef QAPPLICATION_CLASS app_t; + using app_t = QAPPLICATION_CLASS; public: /** @@ -86,7 +86,7 @@ public: * @see See the corresponding QAPPLICATION_CLASS constructor for reference */ explicit SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 1000 ); - ~SingleApplication(); + ~SingleApplication() override; /** * @brief Returns if the instance is the primary instance @@ -131,7 +131,7 @@ public: * @note sendMessage() will return false if invoked from the primary * instance. */ - bool sendMessage( QByteArray message, int timeout = 100 ); + bool sendMessage( const QByteArray &message, int timeout = 100 ); Q_SIGNALS: void instanceStarted(); |