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) ){
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN)
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
#elseif defined(Q_OS_LINUX)
// If the application is running as an AppImage then the APPIMAGE env var should be used