diff options
author | Lioncash <mathew1800@gmail.com> | 2022-11-28 14:40:38 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-11-28 14:40:41 +0100 |
commit | e96f55b6e2e982b517637af724f39dede30bd429 (patch) | |
tree | 5142ee9c14b8541cbb50128c382277657bacc5cb /src | |
parent | Merge pull request #9325 from german77/default_by_default (diff) | |
download | yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar.gz yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar.bz2 yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar.lz yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar.xz yuzu-e96f55b6e2e982b517637af724f39dede30bd429.tar.zst yuzu-e96f55b6e2e982b517637af724f39dede30bd429.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 2aae746f0..346d14252 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -4037,7 +4037,6 @@ void GMainWindow::UpdateUITheme() { const QString default_theme = QString::fromUtf8(UISettings::themes[static_cast<size_t>(Config::default_theme)].second); QString current_theme = UISettings::values.theme; - QStringList theme_paths(default_theme_paths); if (current_theme.isEmpty()) { current_theme = default_theme; @@ -4050,7 +4049,7 @@ void GMainWindow::UpdateUITheme() { if (current_theme == QStringLiteral("default") || current_theme == QStringLiteral("colorful")) { QIcon::setThemeName(current_theme == QStringLiteral("colorful") ? current_theme : startup_icon_theme); - QIcon::setThemeSearchPaths(theme_paths); + QIcon::setThemeSearchPaths(QStringList(default_theme_paths)); if (CheckDarkMode()) { current_theme = QStringLiteral("default_dark"); } |