diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-08-10 11:47:47 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-08-10 11:47:47 +0200 |
commit | 9373712886409ccdce0211f5267b2003a0a770a2 (patch) | |
tree | e764b60e9880a323ee78bda02151861f1fbd6706 /src | |
parent | - Checkable action for the zoom and find bars (diff) | |
download | rekonq-9373712886409ccdce0211f5267b2003a0a770a2.tar.xz |
Fix comments
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 3 | ||||
-rw-r--r-- | src/zoombar.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e547e8e3..5d0d1d0c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -255,7 +255,8 @@ void MainWindow::postLaunch() // Zoom Bar signal connect(m_view, SIGNAL(currentChanged(int)), m_zoomBar, SLOT(updateSlider(int))); - connect(this->currentTab()->view(), SIGNAL(zoomChanged(int)), m_zoomBar, SLOT(setValue(int))); // Ctrl + wheel handling + // Ctrl + wheel handling + connect(this->currentTab()->view(), SIGNAL(zoomChanged(int)), m_zoomBar, SLOT(setValue(int))); // setting up toolbars to NOT have context menu enabled setContextMenuPolicy(Qt::DefaultContextMenu); diff --git a/src/zoombar.cpp b/src/zoombar.cpp index c85e607a..14e88cf5 100644 --- a/src/zoombar.cpp +++ b/src/zoombar.cpp @@ -163,7 +163,8 @@ void ZoomBar::updateSlider(int webview) void ZoomBar::setValue(int value) { m_zoomSlider->setValue(value); - Application::instance()->mainWindow()->currentTab()->view()->setZoomFactor(QVariant(m_zoomSlider->value()).toReal() / 10); // Don't allox max +1 values + // Don't allox max +1 values + Application::instance()->mainWindow()->currentTab()->view()->setZoomFactor(QVariant(m_zoomSlider->value()).toReal() / 10); } |