summaryrefslogtreecommitdiff
path: root/src/gui/statuspopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-16 03:19:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-16 03:19:47 +0300
commit2af5e3f72aef14b5b541b7c47878e0a13a343b85 (patch)
tree2321c64133686081c18ea738c5c2131d0e02951f /src/gui/statuspopup.cpp
parent6ac937583f9589e7049f2eb51eca62f2249ba7d6 (diff)
downloadmanaplus-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.gz
manaplus-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.bz2
manaplus-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.xz
manaplus-2af5e3f72aef14b5b541b7c47878e0a13a343b85.zip
Fix code style.
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r--src/gui/statuspopup.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp
index 13b5d575e..fee6450df 100644
--- a/src/gui/statuspopup.cpp
+++ b/src/gui/statuspopup.cpp
@@ -157,8 +157,6 @@ void StatusPopup::update()
minWidth += 16 + 2 * getPadding();
setWidth(minWidth);
- const int fontHeight = getFont()->getHeight();
-
setHeight(mDisableGameModifiers->getY()
+ mDisableGameModifiers->getHeight() + 2 * getPadding());
}