summaryrefslogtreecommitdiff
path: root/src/gui/widgets/resizegrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/resizegrip.cpp')
-rw-r--r--src/gui/widgets/resizegrip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/resizegrip.cpp b/src/gui/widgets/resizegrip.cpp
index f0c3691c..496e3727 100644
--- a/src/gui/widgets/resizegrip.cpp
+++ b/src/gui/widgets/resizegrip.cpp
@@ -59,9 +59,9 @@ ResizeGrip::~ResizeGrip()
void ResizeGrip::draw(gcn::Graphics *graphics)
{
- if (config.getValue("guialpha", 0.8) != mAlpha)
+ if (config.getFloatValue("guialpha") != mAlpha)
{
- mAlpha = config.getValue("guialpha", 0.8);
+ mAlpha = config.getFloatValue("guialpha");
gripImage->setAlpha(mAlpha);
}