diff widgets/Thumbwheel.cpp @ 1266:a34a2a25907c

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents 54e6be7ebe11
children 13f5f84fbfad
line wrap: on
line diff
--- a/widgets/Thumbwheel.cpp	Thu Mar 01 14:43:53 2018 +0000
+++ b/widgets/Thumbwheel.cpp	Thu Mar 01 18:02:22 2018 +0000
@@ -29,7 +29,7 @@
 #include <iostream>
 
 Thumbwheel::Thumbwheel(Qt::Orientation orientation,
-		       QWidget *parent) :
+                       QWidget *parent) :
     QWidget(parent),
     m_min(0),
     m_max(100),
@@ -244,9 +244,9 @@
     if (step == 0) step = 1;
 
     if (up) {
-	setValue(m_value + step);
+        setValue(m_value + step);
     } else {
-	setValue(m_value - step);
+        setValue(m_value - step);
     }
     
     emit valueChanged(getValue());
@@ -430,9 +430,9 @@
     if (step == 0) step = 1;
 
     if (e->delta() > 0) {
-	setValue(m_value + step);
+        setValue(m_value + step);
     } else {
-	setValue(m_value - step);
+        setValue(m_value - step);
     }
     
     emit valueChanged(getValue());