From ab1846c64d417224a53e8dc4ef3c55f87a413cd6 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 22:33:17 +0100 Subject: downloadFile now needs a QUrl&, simplifies things (startDownload slot in jso needs reworking, tempfix there but messy.) --- src/fbbrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fbbrowser.cpp') 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? -- cgit v1.2.3-55-g7522