summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-30 12:29:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-30 12:29:10 +0300
commit52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8 (patch)
treeeb9549328c31b7ae3a8c533e4c51e50765b5b064 /src/gui/widgets
parentcdeb3daa5df5a98b7b17397d2c8f02ad4bc770d6 (diff)
downloadplus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.gz
plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.bz2
plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.tar.xz
plus-52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8.zip
improve characterviewnormal.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/characterviewnormal.cpp2
-rw-r--r--src/gui/widgets/characterviewnormal.h6
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;