File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ void PreferencesDialog::saveSettings()
255255 Settings::setValue (" editor" , " close_button_on_tabs" , ui->checkCloseButtonOnTabs ->isChecked ());
256256
257257 QStringList extList;
258- for (const QListWidgetItem* item : ui->listExtensions ->findItems ( QString ( " * " ), Qt::MatchWrap | Qt::MatchWildcard) )
259- extList.append (item->text ());
258+ for (int i= 0 ;i< ui->listExtensions ->count ();++i )
259+ extList.append (ui-> listExtensions -> item (i) ->text ());
260260 Settings::setValue (" extensions" , " list" , extList);
261261 Settings::setValue (" extensions" , " disableregex" , ui->checkRegexDisabled ->isChecked ());
262262 Settings::setValue (" extensions" , " enable_load_extension" , ui->checkAllowLoadExtension ->isChecked ());
You can’t perform that action at this time.
0 commit comments