summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r--src/gui/widgets/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index ae6886e72..ed9ac0580 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -283,7 +283,7 @@ void Button::loadImage(const std::string &imageName)
void Button::updateAlpha()
{
- const float alpha = std::max(Client::getGuiAlpha(),
+ const float alpha = std::max(client->getGuiAlpha(),
Theme::instance()->getMinimumOpacity());
if (mAlpha != alpha)