fixed wordListWidget acting when word list is empty
[mdictionary] / src / mdictionary / gui / WordListWidget.h
index 9b293c9..9177529 100644 (file)
@@ -63,6 +63,7 @@ Q_SIGNALS:
     void removeBookmark(QList<Translation*>);
 
     void setWordListState(QVariant state);
+    void setWordListEmpty(QVariant state);
 
 
 public Q_SLOTS:
@@ -128,7 +129,7 @@ private:
     QHash<QString, QList<Translation*> > searchResult;
     WordListProxyStyle* proxyStyle;
 
-    bool isBookmarkModeActive;
+    bool _isBookmarkModeActive;
 
 #ifndef Q_WS_MAEMO_5
     QVBoxLayout* verticalLayout;