diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-30 12:29:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-30 12:29:10 +0300 |
commit | 52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8 (patch) | |
tree | eb9549328c31b7ae3a8c533e4c51e50765b5b064 | |
parent | cdeb3daa5df5a98b7b17397d2c8f02ad4bc770d6 (diff) | |
download | plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.gz plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.bz2 plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.xz plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.zip |
improve characterviewnormal.
-rw-r--r-- | src/gui/widgets/characterviewnormal.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/characterviewnormal.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp index 8d9e136c3..74cb0bdec 100644 --- a/src/gui/widgets/characterviewnormal.cpp +++ b/src/gui/widgets/characterviewnormal.cpp @@ -41,7 +41,7 @@ CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget, FOR_EACHP (std::vector<CharacterDisplay*>::iterator, it, entries) { - CharacterDisplay *character = *it; + CharacterDisplay *const character = *it; add(character); character->setVisible(true); } diff --git a/src/gui/widgets/characterviewnormal.h b/src/gui/widgets/characterviewnormal.h index f404223e6..d9b65d765 100644 --- a/src/gui/widgets/characterviewnormal.h +++ b/src/gui/widgets/characterviewnormal.h @@ -23,7 +23,7 @@ #include "gui/widgets/characterviewbase.h" -#include "debug.h" +#include "localconsts.h" class CharacterViewNormal final : public CharacterViewBase { @@ -36,9 +36,9 @@ class CharacterViewNormal final : public CharacterViewBase ~CharacterViewNormal(); - void show(const int i); + void show(const int i) override; - void resize(); + void resize() override; void action(const gcn::ActionEvent &event A_UNUSED) override; |