Skip to content
Permalink
Browse files

Use passed-in settings object in Themes::getConfiguredStyle().

Refactor gone wrong.
  • Loading branch information...
mkrautz committed Jul 12, 2015
1 parent d275284 commit 1408041589448ac73abd7c83a7939c88d5a03fd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/Themes.cpp
@@ -42,7 +42,7 @@ boost::optional<ThemeInfo::StyleInfo> 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;

0 comments on commit 1408041

Please sign in to comment.
You can’t perform that action at this time.