summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:50:36 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:53:42 +0200
commit8765137a9ec0547b9edf3cb3b9ebae88a7043c2e (patch)
treeab87713795436cca9a903ca1f21d36bc192ba333 /src/mainwindow.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-8765137a9ec0547b9edf3cb3b9ebae88a7043c2e.tar.xz
- Sync mouse wheel zoom and the slider
- Fix mouse wheel zoom limits (slider's max and min)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d5b81c1e..dc29d2eb 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -906,7 +906,7 @@ void MainWindow::setZoomFactor(int factor)
void MainWindow::setZoomSliderFactor(qreal factor)
{
- m_zoomSlider->setValue(factor*10);
+ m_zoomSlider->setValue(factor * 10);
}