summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:48:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (patch)
tree420c78c8ceda39895cce60849e3aeafedd41f081 /src/gui/theme.cpp
parent576b7dca4676ba2c1ea63afb6bbc96fd11183048 (diff)
downloadmanaplus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.gz
manaplus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.bz2
manaplus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.xz
manaplus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.zip
improve some mode methods in Client.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index affec0b8c..97afec6d3 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -130,7 +130,7 @@ void Skin::updateAlpha(const float minimumOpacityAllowed)
{
const float alpha = static_cast<float>(
std::max(static_cast<double>(minimumOpacityAllowed),
- static_cast<double>(Client::getGuiAlpha())));
+ static_cast<double>(client->getGuiAlpha())));
for (int i = 0; i < 9; i++)
{