summarylogtreecommitdiffstats
path: root/fix_ugly_slider.patch
blob: 645a54a19dc5437f4bd0c49d05e967aee8d66af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp b/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
index 005d5cbe7..bd9153e34 100644
--- a/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
+++ b/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
@@ -685,10 +685,10 @@ MainWindow::MainWindow(const vector<IScriptEngine*>& scriptEngines) : _scriptEng
         ADM_mwNavSlider *qslider=(ADM_mwNavSlider *)slider;
     slider->setMinimum(0);
     slider->setMaximum(ADM_LARGE_SCALE);
-#if !(defined(__APPLE__) && QT_VERSION >= QT_VERSION_CHECK(5,10,0))
+/*#if !(defined(__APPLE__) && QT_VERSION >= QT_VERSION_CHECK(5,10,0))
         slider->setTickInterval(ADM_SCALE_INCREMENT);
         slider->setTickPosition(QSlider::TicksBothSides);
-#endif
+#endif*/
     connect( slider,SIGNAL(valueChanged(int)),this,SLOT(sliderValueChanged(int)));
     connect( slider,SIGNAL(sliderMoved(int)),this,SLOT(sliderMoved(int)));
     connect( slider,SIGNAL(sliderReleased()),this,SLOT(sliderReleased()));