diff options
| author | Jonathan Bauer | 2011-03-02 17:59:12 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-02 17:59:12 +0100 |
| commit | 7f969209bd5e838c2f668632ca5b2751c12b6b86 (patch) | |
| tree | 70ccf922a5caf592c6279a34f69f05e2374a2fc0 /src/fbbrowser.cpp | |
| parent | it is now possible to see the mac address as well (diff) | |
| download | fbgui-7f969209bd5e838c2f668632ca5b2751c12b6b86.tar.gz fbgui-7f969209bd5e838c2f668632ca5b2751c12b6b86.tar.xz fbgui-7f969209bd5e838c2f668632ca5b2751c12b6b86.zip | |
Queueing for DM implemented. (need to clean debug msgs a bit)
Diffstat (limited to 'src/fbbrowser.cpp')
| -rw-r--r-- | src/fbbrowser.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp index 67909f6..009aae7 100644 --- a/src/fbbrowser.cpp +++ b/src/fbbrowser.cpp @@ -28,15 +28,22 @@ fbbrowser::fbbrowser(const QUrl & url) } else { - qDebug() << "QNetworkReply error code is: " << reply->error(); + qDebug() << "QNetworkReply error code is: " << reply->error(); qDebug() << "Error occured, loading error page..."; view->load(QUrl("qrc:/html/errorPage.html")); } // **** TEST **** DownloadManager* dm = new DownloadManager(baseUrl); - QString qs = "test.php"; - dm->downloadFile(qs); + QString qs; + + qs = "test.php"; + dm->get(qs); + qs = "blacklist.txt"; + dm->get(qs); + qs = "whitelist.tar.gz"; + dm->get(qs); // **** TEST **** + qDebug() << "DM blocking app?"; //remove the window decoration this->setWindowFlags(Qt::SplashScreen); |
