X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fdialogs%2Fsettings.cpp;h=0dc6b055813ea80320e1ba49ab79ff882854b8a2;hb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a;hp=55181e4c3e86bc5a7b5cebb6a0c54790ac7a9d07;hpb=ab185f78707eb2800c8b9ea577412ea5f6319f22;p=pulseview.git diff --git a/pv/dialogs/settings.cpp b/pv/dialogs/settings.cpp index 55181e4c..0dc6b055 100644 --- a/pv/dialogs/settings.cpp +++ b/pv/dialogs/settings.cpp @@ -240,7 +240,7 @@ QWidget *Settings::get_general_settings_form(QWidget *parent) const if (current_style.isEmpty()) style_cb->setCurrentIndex(0); else - style_cb->setCurrentIndex(style_cb->findText(current_style, 0)); + style_cb->setCurrentIndex(style_cb->findText(current_style, nullptr)); connect(style_cb, SIGNAL(currentIndexChanged(int)), this, SLOT(on_general_style_changed(int)));