summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 04:14:46 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-30 04:14:46 +0300
commitdda225eebf1c3cb9e0b4e657a0875d1180380159 (patch)
treea48de8432b1f71127f5828382223db9dda1d83fd /src/gui
parent9d3285e5720f1722f9a925eb8046070a24305189 (diff)
downloadplus-dda225eebf1c3cb9e0b4e657a0875d1180380159.tar.gz
plus-dda225eebf1c3cb9e0b4e657a0875d1180380159.tar.bz2
plus-dda225eebf1c3cb9e0b4e657a0875d1180380159.tar.xz
plus-dda225eebf1c3cb9e0b4e657a0875d1180380159.zip
Small speed improvments.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 1c1c83ec8..748e038e2 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -108,7 +108,7 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics)
const int fontHeight = getFont()->getHeight();
- Widget *parent = getParent();
+ Widget *parent = mParent;
const std::string name = player_node->getName();