aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2021-09-20 16:38:28 +0300
committerGitHub <noreply@github.com>2021-09-20 16:38:28 +0300
commit9856adebd40e01e4f4190e98d61929377dc2d4b6 (patch)
tree70661fde3971b3649f3b286b986685674c02c03d
parentUpdate singleapplication_p.cpp (diff)
downloadsingleapplication-9856adebd40e01e4f4190e98d61929377dc2d4b6.tar.xz
Update singleapplication_p.cpp
-rw-r--r--singleapplication_p.cpp2
1 files changed, 1 insertions, 1 deletions
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" );