Merge pull request #1440 from lioncash/array
ui_settings: Place definition of the theme array within the cpp file
This commit is contained in:
commit
e6ee31a8e9
3 changed files with 10 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
|||
|
||||
ui->setupUi(this);
|
||||
|
||||
for (auto theme : UISettings::themes) {
|
||||
for (const auto& theme : UISettings::themes) {
|
||||
ui->theme_combobox->addItem(theme.first, theme.second);
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue