summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 16:48:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:05 +0300
commitcdc721a1c6c5cf80736101352161b66ea3f90c50 (patch)
treec32e7e25fe1ad6f23efd2dc50c4eeb5431967249 /src/gui/widgets/shoplistbox.cpp
parentcc78907ee5b2ed84760534897f88f8c1fcce957d (diff)
downloadplus-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.gz
plus-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.bz2
plus-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.xz
plus-cdc721a1c6c5cf80736101352161b66ea3f90c50.zip
Remove set font from graphics object.
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r--src/gui/widgets/shoplistbox.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 11f350165..bd7c7ad11 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -97,7 +97,6 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics)
const int alpha = static_cast<int>(mAlpha * 255.0f);
Graphics *graphics = static_cast<Graphics*>(gcnGraphics);
gcn::Font *const font = getFont();
- graphics->setFont(font);
// Draw the list elements
for (int i = 0, y = 0;