diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-30 12:32:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-30 12:32:25 +0300 |
commit | 256b20612d17e0cbe44332538cdedd2ef5f1a498 (patch) | |
tree | 3b1dc8115506e94e833092405ff65ab181758570 /src | |
parent | 52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8 (diff) | |
download | manaplus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.gz manaplus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.bz2 manaplus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.xz manaplus-256b20612d17e0cbe44332538cdedd2ef5f1a498.zip |
improve characterviewsmall.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/characterviewsmall.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/characterviewsmall.h | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/widgets/characterviewsmall.cpp b/src/gui/widgets/characterviewsmall.cpp index 59cdd8150..fa654b94d 100644 --- a/src/gui/widgets/characterviewsmall.cpp +++ b/src/gui/widgets/characterviewsmall.cpp @@ -43,8 +43,7 @@ CharacterViewSmall::CharacterViewSmall(CharSelectDialog *const widget, FOR_EACHP (std::vector<CharacterDisplay*>::iterator, it, entries) { - CharacterDisplay *character = *it; - add(character); + add(*it); } show(0); } diff --git a/src/gui/widgets/characterviewsmall.h b/src/gui/widgets/characterviewsmall.h index 2ad1f83d3..13e27c5d2 100644 --- a/src/gui/widgets/characterviewsmall.h +++ b/src/gui/widgets/characterviewsmall.h @@ -23,7 +23,7 @@ #include "gui/widgets/characterviewbase.h" -#include "debug.h" +#include "localconsts.h" class CharacterViewBase; @@ -37,9 +37,9 @@ class CharacterViewSmall final : public CharacterViewBase ~CharacterViewSmall(); - void show(const int i); + void show(const int i) override; - void resize(); + void resize() override; void action(const gcn::ActionEvent &event) override; |