--- a/QTfrontend/ui/page/pagedata.h Thu Apr 26 07:44:44 2012 +0200
+++ b/QTfrontend/ui/page/pagedata.h Thu Apr 26 09:47:35 2012 +0200
@@ -46,6 +46,8 @@
QHash<QNetworkReply*, QProgressBar *> progressBars;
QVBoxLayout *progressBarsLayout;
+ bool m_contentDownloaded; ///< true if something was downloaded since last page leave
+
bool extractDataPack(QByteArray * buf);
private slots:
@@ -54,6 +56,8 @@
void pageDownloaded();
void fileDownloaded();
void downloadProgress(qint64, qint64);
+
+ void onPageLeave();
};
#endif