X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fsettings.cpp;h=491bbfc2b6c13e88c67d0dad6efc73f636b4bcfd;hp=0795879675054403477a3744ebec6079c7a34246;hb=f4ab4b5c657e5613caba82feaa81a8a400e4f331;hpb=37b0bd3594a0effb8252c22377f003deafc55b19 diff --git a/pv/dialogs/settings.cpp b/pv/dialogs/settings.cpp index 0795879..491bbfc 100644 --- a/pv/dialogs/settings.cpp +++ b/pv/dialogs/settings.cpp @@ -54,7 +54,6 @@ #include #endif -using std::shared_ptr; using pv::widgets::ColorButton; namespace pv { @@ -216,7 +215,7 @@ QWidget *Settings::get_general_settings_form(QWidget *parent) const general_group->setLayout(general_layout); QComboBox *theme_cb = new QComboBox(); - for (pair entry : Themes) + for (const pair& entry : Themes) theme_cb->addItem(entry.first, entry.second); theme_cb->setCurrentIndex(