QTfrontend/pagedata.cpp
changeset 5755 a079b4dea081
parent 5754 583b7a683b17
child 5756 b451fd21ff4c
--- a/QTfrontend/pagedata.cpp	Sun Sep 04 11:48:01 2011 +0400
+++ b/QTfrontend/pagedata.cpp	Sun Sep 04 13:46:08 2011 +0400
@@ -23,11 +23,11 @@
 #include <QNetworkReply>
 #include <QFileInfo>
 #include <QFileDialog>
-#include <QTextBrowser>
 #include <QDebug>
 #include <QProgressBar>
 
 #include "pagedata.h"
+#include "databrowser.h"
 
 #include "quazip.h"
 
@@ -40,7 +40,7 @@
 
     BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
 
-    web = new QTextBrowser(this);
+    web = new DataBrowser(this);
     connect(web, SIGNAL(anchorClicked(QUrl)), this, SLOT(install(const QUrl&)));
     web->setOpenLinks(false);
     pageLayout->addWidget(web, 0, 0, 1, 3);
@@ -115,7 +115,7 @@
 
 void PageDataDownload::fetchList()
 {
-    QNetworkRequest newRequest(QUrl("http://hedgewars.org/download.html"));
+    QNetworkRequest newRequest(QUrl("http://hedgewars.org/node/2833"));
 
     QNetworkAccessManager *manager = new QNetworkAccessManager(this);
     QNetworkReply *reply = manager->get(newRequest);