From fcd4fcab213a1d518d62e52a2c7454eb0b1aa674 Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Sun, 17 May 2020 17:50:27 +0300 Subject: Fix Clang Tidy warnings --- singleapplication.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'singleapplication.h') 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(); -- cgit v1.2.1