summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-08-09 23:51:33 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-08-10 11:37:31 +0200
commite55e9c541f7a700de529b521552cc935619cc894 (patch)
tree9664e74302dfeec8074eaa28b754a806d0b68fb1 /src/mainwindow.cpp
parentremove useless #includes (diff)
downloadrekonq-e55e9c541f7a700de529b521552cc935619cc894.tar.xz
- Fix Ctrl + wheel shortcut
- Fix zoomUp at the end of the bar - add a stretch on the right
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 01dd2ad2..4d6883ef 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -255,6 +255,7 @@ 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
// setting up toolbars to NOT have context menu enabled
setContextMenuPolicy(Qt::DefaultContextMenu);
@@ -1334,4 +1335,4 @@ bool MainWindow::queryClose()
}
}
return true;
-} \ No newline at end of file
+}