|
a/src/qtgui/spell_w.cpp |
|
b/src/qtgui/spell_w.cpp |
|
... |
|
... |
182 |
|
182 |
|
183 |
if (res.entries.empty()) {
|
183 |
if (res.entries.empty()) {
|
184 |
resTW->setItem(0, 0, new QTableWidgetItem(tr("No expansion found")));
|
184 |
resTW->setItem(0, 0, new QTableWidgetItem(tr("No expansion found")));
|
185 |
} else {
|
185 |
} else {
|
186 |
int row = 0;
|
186 |
int row = 0;
|
187 |
for (list<Rcl::TermMatchEntry>::iterator it = res.entries.begin();
|
187 |
for (vector<Rcl::TermMatchEntry>::iterator it = res.entries.begin();
|
188 |
it != res.entries.end(); it++) {
|
188 |
it != res.entries.end(); it++) {
|
189 |
LOGDEB(("SpellW::expand: %6d [%s]\n", it->wcf, it->term.c_str()));
|
189 |
LOGDEB(("SpellW::expand: %6d [%s]\n", it->wcf, it->term.c_str()));
|
190 |
char num[30];
|
190 |
char num[30];
|
191 |
if (it->wcf)
|
191 |
if (it->wcf)
|
192 |
sprintf(num, "%d / %d", it->docs, it->wcf);
|
192 |
sprintf(num, "%d / %d", it->docs, it->wcf);
|