From dda225eebf1c3cb9e0b4e657a0875d1180380159 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Jun 2011 04:14:46 +0300 Subject: Small speed improvments. --- src/gui/widgets/avatarlistbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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(); -- cgit v1.2.3-70-g09d2