summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/dropshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index e26183116..d0bf896eb 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -61,7 +61,7 @@ DropShortcutContainer::DropShortcutContainer():
if (mBackgroundImg)
{
- mBackgroundImg->setAlpha(Client::getGuiAlpha());
+ mBackgroundImg->setAlpha(client->getGuiAlpha());
mBoxHeight = mBackgroundImg->getHeight();
mBoxWidth = mBackgroundImg->getWidth();
}
@@ -98,9 +98,9 @@ void DropShortcutContainer::draw(gcn::Graphics *graphics)
return;
BLOCK_START("DropShortcutContainer::draw")
- if (Client::getGuiAlpha() != mAlpha)
+ if (client->getGuiAlpha() != mAlpha)
{
- mAlpha = Client::getGuiAlpha();
+ mAlpha = client->getGuiAlpha();
if (mBackgroundImg)
mBackgroundImg->setAlpha(mAlpha);
}