summaryrefslogtreecommitdiffstats
path: root/src/fbbrowser.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-05 22:33:17 +0100
committerJonathan Bauer2011-03-05 22:33:17 +0100
commitab1846c64d417224a53e8dc4ef3c55f87a413cd6 (patch)
tree4ad604df991076b4e99c6d45aee5725a0d2707f4 /src/fbbrowser.cpp
parent-qws options not needed anymore (it is set in the constructor of QApplication.) (diff)
downloadfbgui-ab1846c64d417224a53e8dc4ef3c55f87a413cd6.tar.gz
fbgui-ab1846c64d417224a53e8dc4ef3c55f87a413cd6.tar.xz
fbgui-ab1846c64d417224a53e8dc4ef3c55f87a413cd6.zip
downloadFile now needs a QUrl&, simplifies things (startDownload slot in jso needs reworking, tempfix there but messy.)
Diffstat (limited to 'src/fbbrowser.cpp')
-rw-r--r--src/fbbrowser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp
index 2b8bc7a..6528cc8 100644
--- a/src/fbbrowser.cpp
+++ b/src/fbbrowser.cpp
@@ -45,8 +45,8 @@ fbbrowser::fbbrowser(const QUrl & url)
QObject::connect(jso, SIGNAL(signalQuitAll()), this, SLOT(quit()));
// Initialize Download Manager.
- dm = new DownloadManager(baseUrl);
- QObject::connect(jso, SIGNAL(downloadFile(QString)), dm, SLOT(downloadFile(QString)));
+ dm = new DownloadManager();
+ QObject::connect(jso, SIGNAL(downloadFile(QUrl&)), dm, SLOT(downloadFile(QUrl&)));
QObject::connect(dm, SIGNAL(updateProgress(int)), jso, SLOT(updateProgress(int)));
// Remove the window decoration, form to fullscreen, central view?