From f1d614a32d52411494c9c76f31db412a3a94474f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Dec 2016 02:10:04 +0300 Subject: Fix style issues. --- src/gui/widgets/skillrectanglelistbox.h | 4 ++-- src/gui/windows/skilldialog.cpp | 1 - 2 files changed, 2 insertions(+), 3 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; } } } diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 7aed9941a..23dc82e46 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -432,7 +432,6 @@ void SkillDialog::loadXmlFile(const std::string &fileName, } model->updateVisibilities(); - } } } -- cgit v1.2.3-70-g09d2