dictFin = 1;
bookmarkFin = 0;
- if(_searchBookmarks) {
- _innerBookmarks = QtConcurrent::run(_bookmarks,
- &Bookmarks::list);
- _bookmarkSearchWatcher.setFuture(_innerBookmarks);
- }
+ _innerBookmarks = QtConcurrent::run(_bookmarks,
+ &Bookmarks::list);
+ _bookmarkSearchWatcher.setFuture(_innerBookmarks);
}
break;
case Notify::Warning:
- qDebug() << text;
#ifndef Q_WS_MAEMO_5
QMessageBox::warning(this, "Warning", text);
break;
QHash<QString, QList<Translation *> > result) {
clear();
- qDebug()<<searchResult.count();
searchResult = result;
void WordListWidget::wordClicked(QModelIndex index) {
//we're getting translation based on data in index
- qDebug()<<searchResult[index.data().toString()].at(0)->dictionaryInfo();
emit showTranslation(
searchResult[index.data().toString()]);
}
}
void XdxfCachingDialog::updateCachingProgress(int progress, int time) {
- qDebug() << "INININININININI";
cachingProgressBar->setValue(progress);
if(!cachingLabel->isVisible())
counter++;
int prog = counter*100/_wordsCount;
if(prog % 5 == 0 && lastProg != prog) {
- qDebug() << prog;
Q_EMIT updateCachingProgress(prog,
timer.restart());
lastProg = prog;
cd->typev = QString("type%1").arg(i);
}
back = new Backbone("empty","empty", 1);
- qDebug() << back->getDictionaries().size();
addDicts();
}
QCOMPARE(m->stopped, 1);
}
- qDebug() << "main search " << this->thread()->currentThreadId();
QString list("pigwa");
back->_searchBookmarks = 0;
back->_searchDicts = 1;
back->search(list);
- qDebug() << back->activeDicts().size() << "!!!!!!!!!!!!!";
for(int i = 0; i < total; i++) {