diff options
-rw-r--r-- | singleapplication_p.cpp | 2 |
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" ); |