summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp3
-rw-r--r--src/webtab.cpp1
-rw-r--r--src/webtab.h1
-rw-r--r--src/zoombar.cpp1
4 files changed, 1 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 01e10c82..8c7e4b65 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -207,9 +207,6 @@ MainWindow::MainWindow()
// Zoom Bar signal
connect(m_view, SIGNAL(currentChanged(int)), m_zoomBar, SLOT(updateSlider(int)));
- // Ctrl + wheel handling
- connect(currentTab(), SIGNAL(zoomChanged(int)), m_zoomBar, SLOT(setValue(int)));
-
// Save session on window closing
connect(this, SIGNAL(windowClosing()), rApp->sessionManager(), SLOT(saveSession()));
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 3caf46b8..61c9077f 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -86,7 +86,6 @@ WebTab::WebTab(QWidget *parent)
connect(m_webView, SIGNAL(loadProgress(int)), this, SLOT(updateProgress(int)));
connect(m_webView, SIGNAL(titleChanged(const QString &)), this, SIGNAL(titleChanged(const QString &)));
- connect(m_webView, SIGNAL(zoomChanged(int)), this, SLOT(zoomChanged(int)));
// Session Manager
connect(m_webView, SIGNAL(loadFinished(bool)), rApp->sessionManager(), SLOT(saveSession()));
diff --git a/src/webtab.h b/src/webtab.h
index 2e95fecf..fefdaf66 100644
--- a/src/webtab.h
+++ b/src/webtab.h
@@ -103,7 +103,6 @@ private Q_SLOTS:
Q_SIGNALS:
void loadProgressing();
void titleChanged(const QString &);
- void zoomChanged(int);
private:
KUrl extractOpensearchUrl(QWebElement e);
diff --git a/src/zoombar.cpp b/src/zoombar.cpp
index 95a2c250..d709b38a 100644
--- a/src/zoombar.cpp
+++ b/src/zoombar.cpp
@@ -166,6 +166,7 @@ void ZoomBar::updateSlider(int webview)
return;
m_zoomSlider->setValue(tab->view()->zoomFactor() * 10);
+ connect(tab->view(), SIGNAL(zoomChanged(int)), this, SLOT(setValue(int)));
}