aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.h
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2020-12-21 19:23:04 +0200
committerGitHub <noreply@github.com>2020-12-21 19:23:04 +0200
commit451a42d8f99a9851b3e15761d239a841ea987137 (patch)
tree8241b0c4008dd56df60ecd1813285e0fcd9f7017 /singleapplication.h
parentMerge pull request #122 from LorenDB/master (diff)
parentSet Ubuntu version explicitly (diff)
downloadsingleapplication-451a42d8f99a9851b3e15761d239a841ea987137.tar.xz
Merge pull request #124 from Shatur95/use-const-reference
Use const reference and bump GitHub actions
Diffstat (limited to 'singleapplication.h')
-rw-r--r--singleapplication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/singleapplication.h b/singleapplication.h
index d39a661..8768012 100644
--- a/singleapplication.h
+++ b/singleapplication.h
@@ -85,7 +85,7 @@ public:
* Usually 4*timeout would be the worst case (fail) scenario.
* @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, QString userData = QString() );
+ explicit SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 1000, const QString &userData = {} );
~SingleApplication() override;
/**