This commit is contained in:
parent
5244f72ec2
commit
7013ade1b5
1 changed files with 2 additions and 2 deletions
|
@ -30,12 +30,12 @@ QIcon IconLoader::loadingAppIcon()
|
||||||
QIcon appIcon;
|
QIcon appIcon;
|
||||||
#if defined(GTA5SYNC_QCONF) && defined(GTA5SYNC_CMAKE)
|
#if defined(GTA5SYNC_QCONF) && defined(GTA5SYNC_CMAKE)
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
const QString pattern = AppEnv::getImagesFolder() % QLatin1String(":/gta5view-%1.png");
|
const QString pattern = AppEnv::getImagesFolder() % QLatin1String("/gta5view-%1.png");
|
||||||
#else
|
#else
|
||||||
const QString pattern = AppEnv::getShareFolder() % QLatin1String("/icons/hicolor/%1x%1/apps/de.syping.gta5view.png");
|
const QString pattern = AppEnv::getShareFolder() % QLatin1String("/icons/hicolor/%1x%1/apps/de.syping.gta5view.png");
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
const QString pattern = AppEnv::getImagesFolder() % QLatin1String(":/gta5view-%1.png");
|
const QString pattern = AppEnv::getImagesFolder() % QLatin1String("/gta5view-%1.png");
|
||||||
#endif
|
#endif
|
||||||
appIcon.addFile(pattern.arg("16"), QSize(16, 16));
|
appIcon.addFile(pattern.arg("16"), QSize(16, 16));
|
||||||
appIcon.addFile(pattern.arg("24"), QSize(24, 24));
|
appIcon.addFile(pattern.arg("24"), QSize(24, 24));
|
||||||
|
|
Loading…
Reference in a new issue