aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.h
diff options
context:
space:
mode:
authorShatur95 <genaloner@gmail.com>2020-12-21 19:07:36 +0200
committerShatur95 <genaloner@gmail.com>2020-12-21 19:07:36 +0200
commit7bdb497a839e5590418970a0795aa0862c8ed93b (patch)
tree5634577eb0052a37099614224511f9f3c1869555 /singleapplication.h
parentMerge pull request #122 from LorenDB/master (diff)
downloadsingleapplication-7bdb497a839e5590418970a0795aa0862c8ed93b.tar.xz
Pass usedData by const reference
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;
/**