diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2014-04-21 11:53:35 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2014-04-21 11:53:35 +0200 |
commit | 2a117cc570574099839da41a5ae9fbb2a5ca9e55 (patch) | |
tree | 6107da409f9c7f07c0ffa0869a26a161b097aea7 /src/timeslider.cpp | |
parent | aa68b7bd585a157e8952881e87e2c09de6ec742f (diff) |
Imported Upstream version 14.3.0
Diffstat (limited to 'src/timeslider.cpp')
-rw-r--r-- | src/timeslider.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/timeslider.cpp b/src/timeslider.cpp index 9b6f037..9ef2c45 100644 --- a/src/timeslider.cpp +++ b/src/timeslider.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2013 Ricardo Villalba <rvm@users.sourceforge.net> + Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ TimeSlider::TimeSlider( QWidget * parent ) : MySlider(parent) { - dont_update = FALSE; + dont_update = false; setMinimum(0); #ifdef SEEKBAR_RESOLUTION setMaximum(SEEKBAR_RESOLUTION); @@ -57,14 +57,14 @@ void TimeSlider::stopUpdate() { #if DEBUG qDebug("TimeSlider::stopUpdate"); #endif - dont_update = TRUE; + dont_update = true; } void TimeSlider::resumeUpdate() { #if DEBUG qDebug("TimeSlider::resumeUpdate"); #endif - dont_update = FALSE; + dont_update = false; } void TimeSlider::mouseReleased() { @@ -138,9 +138,10 @@ int TimeSlider::pos() { return position; } +/* void TimeSlider::wheelEvent( QWheelEvent * e ) { e->ignore(); } - +*/ #include "moc_timeslider.cpp" |