Merge pull request #5496 from spycrab/qt_fixtheme
Qt: Fix GetThemeDir()
This commit is contained in:
commit
5d7f4cb9c8
|
@ -23,8 +23,7 @@ Settings::Settings(QObject* parent) : QSettings(GetSettingsPath(), QSettings::In
|
||||||
|
|
||||||
QString Settings::GetThemeDir() const
|
QString Settings::GetThemeDir() const
|
||||||
{
|
{
|
||||||
QString theme_name = value(QStringLiteral("Theme"), QStringLiteral("Clean")).toString();
|
return QString::fromStdString(File::GetThemeDir(SConfig::GetInstance().theme_name));
|
||||||
return QString::fromStdString(File::GetThemeDir(theme_name.toStdString()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Settings::GetResourcesDir() const
|
QString Settings::GetResourcesDir() const
|
||||||
|
|
Loading…
Reference in New Issue