Skip to content

Commit

Permalink
Update singleapplication_p.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
itay-grudev committed Sep 20, 2021
1 parent bca0b77 commit 9856ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singleapplication_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down

0 comments on commit 9856ade

Please sign in to comment.