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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'singleapplication.cpp') 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 ); -- cgit v1.2.1