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:
parent
cc96fea921
commit
bca0b770ee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user