diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 22:38:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 22:38:01 +0300 |
commit | 1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06 (patch) | |
tree | 2d7a5f379c70b16d12782f75568dab59de764551 /src/gui/windows | |
parent | eac67bd477047c2da9a2aeabadd93554cccf0ed8 (diff) | |
download | plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.gz plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.bz2 plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.xz plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.zip |
Fix code style.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/killstats.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.h | 1 | ||||
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/statuswindow.h | 3 |
4 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp index f3ebbdaa4..dfc3c616e 100644 --- a/src/gui/windows/killstats.cpp +++ b/src/gui/windows/killstats.cpp @@ -201,7 +201,8 @@ void KillStats::resetTimes() void KillStats::gainXp(int xp) { - const int expNeed = PlayerInfo::getAttribute(Attributes::PLAYER_EXP_NEEDED); + const int expNeed = PlayerInfo::getAttribute( + Attributes::PLAYER_EXP_NEEDED); if (xp == expNeed) xp = 0; else if (!xp) diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index c322c6c0a..5e53c7362 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -35,7 +35,6 @@ #include "utils/xml.h" -class Being; class Button; class Label; class SkillModel; diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index b6a6e9ceb..16e00fed7 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -37,7 +37,7 @@ #include "gui/widgets/button.h" #include "gui/widgets/createwidget.h" -#include "gui/widgets/layouthelper.h" +#include "gui/widgets/layout.h" #include "gui/widgets/layouttype.h" #include "gui/widgets/progressbar.h" #include "gui/widgets/statspage.h" diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h index ce9685689..414e9a265 100644 --- a/src/gui/windows/statuswindow.h +++ b/src/gui/windows/statuswindow.h @@ -29,15 +29,12 @@ #include "listeners/attributelistener.h" #include "listeners/statlistener.h" -class AttrDisplay; class Button; class Label; class ProgressBar; -class ScrollArea; class StatsPage; class StatsPageBasic; class TabbedArea; -class VertContainer; /** * The player status dialog. |