aboutsummaryrefslogtreecommitdiff
path: root/singleapplication_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to '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" );