From 1408041589448ac73abd7c83a7939c88d5a03fd3 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Sun, 12 Jul 2015 11:53:12 +0200 Subject: [PATCH] Use passed-in settings object in Themes::getConfiguredStyle(). Refactor gone wrong. --- src/mumble/Themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mumble/Themes.cpp b/src/mumble/Themes.cpp index 555c1f503f..9bdd0263fe 100644 --- a/src/mumble/Themes.cpp +++ b/src/mumble/Themes.cpp @@ -42,7 +42,7 @@ boost::optional Themes::getConfiguredStyle(const Settings return boost::none; } - ThemeInfo::StylesMap::const_iterator styleIt = themeIt->styles.find(g.s.themeStyleName); + ThemeInfo::StylesMap::const_iterator styleIt = themeIt->styles.find(settings.themeStyleName); if (styleIt == themeIt->styles.end()) { qWarning() << "Configured theme" << g.s.themeName << "does not have configured style" << settings.themeStyleName; return boost::none;