Add confirmation after download on Symbian.
[dorian] / searchresultsdialog.cpp
index 88958f6..f52af1f 100644 (file)
@@ -5,10 +5,6 @@
 #include <QDir>
 #include <QFile>
 
-#ifdef Q_WS_MAEMO_5
-#include <QtMaemo5/QMaemo5InformationBox>
-#endif
-
 #include "listview.h"
 #include "searchresultsdialog.h"
 #include "searchresultinfodialog.h"
@@ -106,10 +102,7 @@ void SearchResultsDialog::onEndDownload(int status, const Search::Result &result
         if (-1 != row) {
             list->model()->removeRow(row);
         }
-#ifdef Q_WS_MAEMO_5
-        QMaemo5InformationBox::information(this,
-            tr("Downloaded \"%1\"\nand added to the library").arg(result.title),
-            QMaemo5InformationBox::DefaultTimeout);
-#endif
+        Platform::information(tr("Downloaded \"%1\"\nand added to the library").
+                              arg(result.title), this);
     }
 }