Fix Windows resource folder
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7013ade1b5
commit
955f015de3
1 changed files with 4 additions and 0 deletions
|
@ -148,7 +148,11 @@ QString AppEnv::getPluginsFolder()
|
|||
QString AppEnv::getImagesFolder()
|
||||
{
|
||||
#if defined(GTA5SYNC_QCONF) && defined(GTA5SYNC_CMAKE)
|
||||
#ifdef Q_OS_WIN
|
||||
return StringParser::convertBuildedString(GTA5SYNC_SHARE % QLatin1String("/resources"));
|
||||
#else
|
||||
return StringParser::convertBuildedString(GTA5SYNC_SHARE % QLatin1String("/APPNAME:/resources"));
|
||||
#endif
|
||||
#else
|
||||
return QLatin1String(":/img");
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue