Refreshing notification only in maemo
[mdictionary] / src / mdictionary / gui / MainWindow.cpp
index 243f8c1..e94295a 100644 (file)
@@ -254,7 +254,9 @@ void MainWindow::translationsReady() {
     #endif
 
     Q_EMIT showTranslation(backbone->htmls());
-    notifyManager->screenChanged();
+    #ifdef Q_WS_MAEMO_5
+        notifyManager->screenChanged();
+    #endif
 }
 
 
@@ -576,8 +578,5 @@ void MainWindow::removeBookmarks() {
              tr("Do you want to delete all bookmarks? (This action cannot be revoked)"),
              QMessageBox::Yes, QMessageBox::Cancel) == QMessageBox::Yes) {
         backbone->removeAllBookmarks();
-        if(searchString.size())
-            backbone->search(searchString);
-
     }
 }