summaryrefslogtreecommitdiffstats
path: root/src/app/slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/slider.cpp')
-rw-r--r--src/app/slider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/slider.cpp b/src/app/slider.cpp
index 172c15d..997f8db 100644
--- a/src/app/slider.cpp
+++ b/src/app/slider.cpp
@@ -14,7 +14,7 @@
using Codeine::Slider;
-Slider *Slider::s_instance = 0;
+Slider *Slider::s_instance = nullptr;
Slider::Slider( TQWidget *parent, uint max )
@@ -106,8 +106,8 @@ static inline TQString timeAsString( const int s )
void
Slider::setValue( int newValue )
{
- static TQLabel *w1 = 0;
- static TQLabel *w2 = 0;
+ static TQLabel *w1 = nullptr;
+ static TQLabel *w2 = nullptr;
if (!w1) {
w1 = new TQLabel( this );