summaryrefslogtreecommitdiff
path: root/src/gui/widgets/characterviewsmall.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-30 12:32:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-30 12:32:25 +0300
commit256b20612d17e0cbe44332538cdedd2ef5f1a498 (patch)
tree3b1dc8115506e94e833092405ff65ab181758570 /src/gui/widgets/characterviewsmall.cpp
parent52c7eb5fbe9d129f9c9fba255a4d64bc6eb907b8 (diff)
downloadplus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.gz
plus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.bz2
plus-256b20612d17e0cbe44332538cdedd2ef5f1a498.tar.xz
plus-256b20612d17e0cbe44332538cdedd2ef5f1a498.zip
improve characterviewsmall.
Diffstat (limited to 'src/gui/widgets/characterviewsmall.cpp')
-rw-r--r--src/gui/widgets/characterviewsmall.cpp3
1 files changed, 1 insertions, 2 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);
}