From 2b0eb53de0c2e27f1950e467275f35c43d3a60f0 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 00:27:04 +0100 Subject: euhm yeah... --- 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 6c7f642..7436c85 100644 --- a/src/fbbrowser.cpp +++ b/src/fbbrowser.cpp @@ -42,13 +42,13 @@ fbbrowser::fbbrowser(const QUrl & url) qwf = view->page()->mainFrame(); jso = new JSObject(qwf); QObject::connect(qwf, SIGNAL(javaScriptWindowObjectCleared()), - jso, SLOT(enableJavascriptAccess())); + jso, SLOT(attachToDOM())); 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))); - QObject::connect(dm, SIGNAL(updateProgress(int)), jso, SLOT(updateProgressSlot(int))); + QObject::connect(dm, SIGNAL(updateProgress(int)), jso, SLOT(updateProgress(int))); // Remove the window decoration, form to fullscreen, central view? this->setWindowFlags(Qt::SplashScreen); -- cgit v1.2.3-55-g7522