diff -r 86c951cd0f3f -r 005393616925 QTfrontend/ui/page/pagedata.h --- 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 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