1
0
mirror of https://github.com/itay-grudev/SingleApplication.git synced 2025-04-01 01:52:39 +08:00

Update singleapplication_p.cpp

Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
This commit is contained in:
Itay Grudev 2021-09-20 16:37:01 +03:00 committed by GitHub
parent cc96fea921
commit bca0b770ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ void SingleApplicationPrivate::genBlockServerName()
} }
if( ! (options & SingleApplication::Mode::ExcludeAppPath) ){ if( ! (options & SingleApplication::Mode::ExcludeAppPath) ){
#ifdef Q_OS_WIN #if defined(Q_OS_WIN)
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() ); appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
#elseif defined(Q_OS_LINUX) #elseif defined(Q_OS_LINUX)
// If the application is running as an AppImage then the APPIMAGE env var should be used // If the application is running as an AppImage then the APPIMAGE env var should be used