Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-06-12 12:39:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:19:26 +0300
commit1f90697f1af585087aea489cdb0045e05eca29c2 (patch)
tree2f821fa7e9c33ec1f36c3e57345cce92a3d46993 /qt/mainwindow.cpp
parentc566cde6fcc3350738fee6108db26888a5fd4beb (diff)
Make smooth scale control.
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r--qt/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index fee6b95de8..0d509c4968 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -260,8 +260,8 @@ void MainWindow::CreateNavigationBar()
}
// add scale slider
- QClickSlider * pScale = new QClickSlider(Qt::Vertical, this);
- pScale->setRange(3, scales::GetUpperScale());
+ QScaleSlider * pScale = new QScaleSlider(Qt::Vertical, this, 20);
+ pScale->SetRange(2, scales::GetUpperScale());
pScale->setTickPosition(QSlider::TicksRight);
pToolBar->addWidget(pScale);