From e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 9 Mar 2011 20:28:17 +0100 Subject: DM also provides current file on update --- src/fbgui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/fbgui.cpp') diff --git a/src/fbgui.cpp b/src/fbgui.cpp index 5209ad1..cd3153c 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -35,13 +35,11 @@ fbgui::fbgui() /* Init Download Manager */ DownloadManager* dm = new DownloadManager(); QObject::connect(jsi, SIGNAL(requestFile(QString&)), dm, SLOT(downloadFile(QString&))); - QObject::connect(dm, SIGNAL(updateProgress(int)), jsi, SLOT(updateProgressBar(int))); + QObject::connect(dm, SIGNAL(updateProgress(QString, int)), jsi, SLOT(updateProgressBar(QString, int))); //setWindowFlags(Qt::Window); showFullScreen(); qDebug() << "Width: " << width() << " // Height: " << height(); - QSize size(800, 600); - resize(size); setCentralWidget(webView); show(); -- cgit v1.2.3-55-g7522