summaryrefslogtreecommitdiffstats
path: root/src/fbbrowser.cpp
diff options
context:
space:
mode:
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 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);