// Handle download success
QByteArray data = downloadReply->readAll();
- quint64 size = (quint64)data.size();
+ qint64 size = (qint64)data.size();
qDebug() << "Got" << size << "bytes";
downloadReply->deleteLater();
downloadReply = 0;
#include <stdio.h>
#include <QtGui>
+#ifdef Q_WS_MAEMO_5
+#include <QtMaemo5/QMaemo5InformationBox>
+#endif
+
#include "listview.h"
#include "searchresultsdialog.h"
#include "searchresultinfodialog.h"
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
}
}