more delistification
This commit is contained in:
@@ -184,9 +184,9 @@ ConfTopPanelW::ConfTopPanelW(QWidget *parent, ConfNull *config)
|
||||
setSzPol(eskp, QSizePolicy::Preferred, QSizePolicy::Preferred, 1, 3);
|
||||
gl1->addWidget(eskp, 1, 0, 1, 2);
|
||||
|
||||
list<string> cstemlangs = Rcl::Db::getStemmerNames();
|
||||
vector<string> cstemlangs = Rcl::Db::getStemmerNames();
|
||||
QStringList stemlangs;
|
||||
for (list<string>::const_iterator it = cstemlangs.begin();
|
||||
for (vector<string>::const_iterator it = cstemlangs.begin();
|
||||
it != cstemlangs.end(); it++) {
|
||||
stemlangs.push_back(QString::fromUtf8(it->c_str()));
|
||||
}
|
||||
|
||||
@@ -1083,7 +1083,8 @@ void RclMain::showActiveTypes()
|
||||
|
||||
// Build the set of mtypes, stripping the prefix
|
||||
set<string> mtypesfromdb;
|
||||
for (list<Rcl::TermMatchEntry>::const_iterator it = matches.entries.begin();
|
||||
for (vector<Rcl::TermMatchEntry>::const_iterator it =
|
||||
matches.entries.begin();
|
||||
it != matches.entries.end(); it++) {
|
||||
mtypesfromdb.insert(it->term.substr(prefix.size()));
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ void SpellW::doExpand()
|
||||
resTW->setItem(0, 0, new QTableWidgetItem(tr("No expansion found")));
|
||||
} else {
|
||||
int row = 0;
|
||||
for (list<Rcl::TermMatchEntry>::iterator it = res.entries.begin();
|
||||
for (vector<Rcl::TermMatchEntry>::iterator it = res.entries.begin();
|
||||
it != res.entries.end(); it++) {
|
||||
LOGDEB(("SpellW::expand: %6d [%s]\n", it->wcf, it->term.c_str()));
|
||||
char num[30];
|
||||
|
||||
@@ -299,7 +299,7 @@ void SSearch::completion()
|
||||
ok = true;
|
||||
} else {
|
||||
QStringList lst;
|
||||
for (list<Rcl::TermMatchEntry>::iterator it = tmres.entries.begin();
|
||||
for (vector<Rcl::TermMatchEntry>::iterator it = tmres.entries.begin();
|
||||
it != tmres.entries.end(); it++) {
|
||||
lst.push_back(QString::fromUtf8(it->term.c_str()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user