Switch to side-by-side view
--- a/src/qtgui/ssearch_w.cpp +++ b/src/qtgui/ssearch_w.cpp @@ -300,9 +300,8 @@ sdata->setMaxExpand(maxexp); } - for (list<string>::const_iterator it = prefs.activeExtraDbs.begin(); - it != prefs.activeExtraDbs.end(); it++) { - xml << " <EX>" << base64_encode(*it) << "</EX>"; + for (const auto& dbdir : prefs.activeExtraDbs) { + xml << " <EX>" << base64_encode(dbdir) << "</EX>"; } xml << "</SD>\n";