mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
Fix thememanager on portable build
This commit is contained in:
parent
dd4900b038
commit
36f19be06a
1 changed files with 4 additions and 2 deletions
|
|
@ -43,7 +43,9 @@ QStringMap & ThemeManager::getAvailableThemes()
|
||||||
|
|
||||||
// load themes from user profile dir
|
// load themes from user profile dir
|
||||||
dir =
|
dir =
|
||||||
#if QT_VERSION < 0x050000
|
#ifdef PORTABLE_BUILD
|
||||||
|
qApp->applicationDirPath() +
|
||||||
|
#elif QT_VERSION < 0x050000
|
||||||
QDesktopServices::storageLocation(QDesktopServices::DataLocation) +
|
QDesktopServices::storageLocation(QDesktopServices::DataLocation) +
|
||||||
#else
|
#else
|
||||||
QStandardPaths::standardLocations(QStandardPaths::DataLocation).first() +
|
QStandardPaths::standardLocations(QStandardPaths::DataLocation).first() +
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue