diff options
| author | Jonathan Bauer | 2011-03-09 20:28:17 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-09 20:28:17 +0100 |
| commit | e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2 (patch) | |
| tree | 4e182931a584c5d4c00c426fd8bf4502d5de5e76 /src/fbgui.cpp | |
| parent | javascriptInterface can be accessed by "fbgui" now (jsObject also for now..) (diff) | |
| download | fbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.tar.gz fbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.tar.xz fbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.zip | |
DM also provides current file on update
Diffstat (limited to 'src/fbgui.cpp')
| -rw-r--r-- | src/fbgui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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(); |
