From 7bdb497a839e5590418970a0795aa0862c8ed93b Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Mon, 21 Dec 2020 19:07:36 +0200 Subject: Pass usedData by const reference --- singleapplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'singleapplication.h') 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; /** -- cgit v1.2.1