aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.cpp
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.cpp
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.cpp')
-rw-r--r--singleapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp
index 276ceee..6279713 100644
--- a/singleapplication.cpp
+++ b/singleapplication.cpp
@@ -36,7 +36,7 @@
* @param options Optional flags to toggle specific behaviour
* @param timeout Maximum time blocking functions are allowed during app load
*/
-SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSecondary, Options options, int timeout, QString userData )
+SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSecondary, Options options, int timeout, const QString &userData )
: app_t( argc, argv ), d_ptr( new SingleApplicationPrivate( this ) )
{
Q_D( SingleApplication );