From bc92643d8db723b5049db2dbad1ce052a0ae77a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Oct 2012 20:39:33 +0300 Subject: Fix code style and some other minor issues. --- src/gui/widgets/progressindicator.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/progressindicator.cpp') diff --git a/src/gui/widgets/progressindicator.cpp b/src/gui/widgets/progressindicator.cpp index 565d83da7..6ff31fd0e 100644 --- a/src/gui/widgets/progressindicator.cpp +++ b/src/gui/widgets/progressindicator.cpp @@ -35,7 +35,8 @@ #include "debug.h" ProgressIndicator::ProgressIndicator() : - gcn::Widget() + gcn::Widget(), + mIndicator(nullptr) { ImageSet *const images = Theme::getImageSetFromTheme( "progress-indicator.png", 32, 32); @@ -50,10 +51,6 @@ ProgressIndicator::ProgressIndicator() : images->decRef(); } - else - { - mIndicator = nullptr; - } setSize(32, 32); } -- cgit v1.2.3-70-g09d2