From e55e9c541f7a700de529b521552cc935619cc894 Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Mon, 9 Aug 2010 23:51:33 +0200 Subject: - Fix Ctrl + wheel shortcut - Fix zoomUp at the end of the bar - add a stretch on the right --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') 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 +} -- cgit v1.2.1