fixed shadowed variable issue

This commit is contained in:
itsmattkc
2020-08-10 23:17:51 +10:00
parent be4a969666
commit 1b7badb85b
@@ -46,6 +46,7 @@ PreferencesAppearanceTab::PreferencesAppearanceTab()
style_combobox_ = new QComboBox();
{
const QMap<QString, QString>& themes = StyleManager::available_themes();
QMap<QString, QString>::const_iterator i;
for (i=themes.cbegin(); i!=themes.cend(); i++) {
@@ -55,6 +56,7 @@ PreferencesAppearanceTab::PreferencesAppearanceTab()
style_combobox_->setCurrentIndex(style_combobox_->count()-1);
}
}
}
appearance_layout->addWidget(style_combobox_, row, 1);