From 9856adebd40e01e4f4190e98d61929377dc2d4b6 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Mon, 20 Sep 2021 16:38:28 +0300 Subject: [PATCH] Update singleapplication_p.cpp --- singleapplication_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singleapplication_p.cpp b/singleapplication_p.cpp index ce84d3c..1a061f2 100644 --- a/singleapplication_p.cpp +++ b/singleapplication_p.cpp @@ -146,7 +146,7 @@ void SingleApplicationPrivate::genBlockServerName() if( ! (options & SingleApplication::Mode::ExcludeAppPath) ){ #if defined(Q_OS_WIN) appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() ); -#elseif defined(Q_OS_LINUX) +#elif defined(Q_OS_LINUX) // If the application is running as an AppImage then the APPIMAGE env var should be used // instead of applicationPath() as each instance is launched with its own executable path const QByteArray appImagePath = qgetenv( "APPIMAGE" );