summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressindicator.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
commitbc92643d8db723b5049db2dbad1ce052a0ae77a9 (patch)
tree4471be99711ee310c811e990d7c210e2393aeb6e /src/gui/widgets/progressindicator.cpp
parent82cc576b7896f39bcf71aa85c8c4b3ef786c065b (diff)
downloadManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.gz
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.bz2
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.xz
ManaVerse-bc92643d8db723b5049db2dbad1ce052a0ae77a9.zip
Fix code style and some other minor issues.
Diffstat (limited to 'src/gui/widgets/progressindicator.cpp')
-rw-r--r--src/gui/widgets/progressindicator.cpp7
1 files changed, 2 insertions, 5 deletions
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);
}