aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'singleapplication.h')
-rw-r--r--singleapplication.h6
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();