summaryrefslogtreecommitdiff
path: root/src/gui/radiobutton.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 15:29:46 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 15:29:46 +0100
commitaa6f1c46e78864d9900cdf8afb8bacb8c4ce4651 (patch)
tree595063263f824a8e1022cea9b951352191c6282e /src/gui/radiobutton.cpp
parent3efa949fca06f9a1cad04ff7da8107096ed55044 (diff)
downloadmana-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.gz
mana-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.bz2
mana-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.xz
mana-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.zip
Removed all the static initializations of mAlpha
They happened before the configuration was initialized, so that didn't make any sense. It never showed up as a problem since the value is constantly set in the draw methods anyway.
Diffstat (limited to 'src/gui/radiobutton.cpp')
-rw-r--r--src/gui/radiobutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/radiobutton.cpp b/src/gui/radiobutton.cpp
index b05e37e6..4a98e29a 100644
--- a/src/gui/radiobutton.cpp
+++ b/src/gui/radiobutton.cpp
@@ -28,7 +28,7 @@
#include "../resources/resourcemanager.h"
int RadioButton::instances = 0;
-float RadioButton::mAlpha = config.getValue("guialpha", 0.8);
+float RadioButton::mAlpha = 1.0;
Image *RadioButton::radioNormal;
Image *RadioButton::radioChecked;
Image *RadioButton::radioDisabled;