summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 02:14:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 02:20:24 +0300
commita603cf32c1491e1a943d77b76e0f2362babcd7b8 (patch)
tree8841385c90b85b84b9589c633f0f569291d6cb1c /src/gui/widgets/avatarlistbox.cpp
parente3682e2cdcb59c36792f6f9c39569e0af01088f0 (diff)
downloadplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.gz
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.bz2
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.xz
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.zip
Remove color2 from graphics.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index d93787d18..b497bc8a4 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -121,7 +121,6 @@ void AvatarListBox::draw(Graphics *graphics)
const std::string &name = localPlayer->getName();
// Draw the list elements
- graphics->setColorAll(mForegroundColor, mForegroundColor2);
ImageCollection vertexes;
const bool useCaching = isBatchDrawRenders(openGLMode);
@@ -161,8 +160,6 @@ void AvatarListBox::draw(Graphics *graphics)
graphics->drawTileCollection(&vertexes);
}
- graphics->setColorAll(mForegroundColor, mForegroundColor2);
-
for (int i = 0, y = 0;
i < model->getNumberOfElements();
++i, y += fontHeight)