X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmdictionary%2Fgui%2FWordListWidget.cpp;h=135e4ae02b6ef335c03c57a2d799db98793f823a;hb=81211b66843c093170d0ea7b00aae3e3ecb3db9c;hp=b52f55fdb00bb3b62e2d40bcc374bd3d7f78521c;hpb=179ec6d69ba84409283a71d44894a56f657abb39;p=mdictionary diff --git a/src/mdictionary/gui/WordListWidget.cpp b/src/mdictionary/gui/WordListWidget.cpp index b52f55f..135e4ae 100644 --- a/src/mdictionary/gui/WordListWidget.cpp +++ b/src/mdictionary/gui/WordListWidget.cpp @@ -60,7 +60,6 @@ WordListWidget::WordListWidget(QWidget *parent): ctxt = qmlView->rootContext(); -// refreshDictsList(); ctxt->setContextProperty("wordModel", &(*listModel)); ctxt->setContextProperty("CheckedPath", "qrc:/icons/16x16/staron.png"); ctxt->setContextProperty("UncheckedPath", "qrc:/icons/16x16/staroff.png"); @@ -189,7 +188,6 @@ void WordListWidget::showSearchResults( listModel = new WordListModel(this); } listModel->setTranslations(result, wordsInBookmarks); - //todo: sort words #endif @@ -321,7 +319,7 @@ void WordListWidget::unlockList() { #ifdef Q_WS_MAEMO_5 setEnabled(true); #else - Q_EMIT setWordListState(false); + Q_EMIT setWordListState(true); #endif }