summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-16 02:10:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-16 02:10:04 +0300
commitf1d614a32d52411494c9c76f31db412a3a94474f (patch)
tree19e0f03bdbe39d3de1c81c6d7d46081fcb1ad117 /src/gui/widgets
parent2110ae0ad165524be00bc2dc0156cfa03101ee17 (diff)
downloadmanaverse-f1d614a32d52411494c9c76f31db412a3a94474f.tar.gz
manaverse-f1d614a32d52411494c9c76f31db412a3a94474f.tar.bz2
manaverse-f1d614a32d52411494c9c76f31db412a3a94474f.tar.xz
manaverse-f1d614a32d52411494c9c76f31db412a3a94474f.zip
Fix style issues.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/skillrectanglelistbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/skillrectanglelistbox.h b/src/gui/widgets/skillrectanglelistbox.h
index 6d65912ed..69cf80563 100644
--- a/src/gui/widgets/skillrectanglelistbox.h
+++ b/src/gui/widgets/skillrectanglelistbox.h
@@ -159,7 +159,6 @@ class SkillRectangleListBox final : public Widget,
SkillInfo *const e = model->getSkillAt(mSelected);
if (e)
{
- //const SkillData *const data = e->data;
const int x = e->x * mBoxWidth + mPadding;
const int y = e->y * mBoxHeight + mPadding;
@@ -219,7 +218,8 @@ class SkillRectangleListBox final : public Widget,
if (e->skillLevelWidth < 0)
{
// Add one for padding
- e->skillLevelWidth = font->getWidth(e->skillLevel) + 1;
+ e->skillLevelWidth = font->getWidth(
+ e->skillLevel) + 1;
}
}
}