summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
commitaef5053e87c93a8987f89e4fdaf6cf3dd23efe81 (patch)
tree1114d14958b13eba28a51e57722d6c4da0b9d2e7 /src/gui/widgets/window.cpp
parenta50ecdf6045ba0f0d5e91d10ddeb8d5520ba55cb (diff)
downloadmanaplus-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.gz
manaplus-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.bz2
manaplus-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.xz
manaplus-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.zip
fix code style.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 7cad9999c..c7212314d 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -1217,13 +1217,6 @@ bool Window::isResizeAllowed(const MouseEvent &event) const
return false;
}
-int Window::getGuiAlpha() const
-{
- const float alpha = std::max(client->getGuiAlpha(),
- theme->getMinimumOpacity());
- return static_cast<int>(alpha * 255.0F);
-}
-
Layout &Window::getLayout()
{
if (!mLayout)