summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-28 19:11:17 +0100
committerGitHub <noreply@github.com>2022-11-28 19:11:17 +0100
commite507c01a225c60a258eb368e55ff285ff743a36f (patch)
tree5142ee9c14b8541cbb50128c382277657bacc5cb
parentMerge pull request #9325 from german77/default_by_default (diff)
parentyuzu/main: Merge variable declaration into ifdef (diff)
downloadyuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar.gz
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar.bz2
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar.lz
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar.xz
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.tar.zst
yuzu-e507c01a225c60a258eb368e55ff285ff743a36f.zip
-rw-r--r--src/yuzu/main.cpp3
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");
}