summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.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/listbox.cpp
parentcc78907ee5b2ed84760534897f88f8c1fcce957d (diff)
downloadmanaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.gz
manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.bz2
manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.xz
manaverse-cdc721a1c6c5cf80736101352161b66ea3f90c50.zip
Remove set font from graphics object.
Diffstat (limited to 'src/gui/widgets/listbox.cpp')
-rw-r--r--src/gui/widgets/listbox.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp
index dbd54f3f3..c7d59f124 100644
--- a/src/gui/widgets/listbox.cpp
+++ b/src/gui/widgets/listbox.cpp
@@ -93,7 +93,6 @@ void ListBox::draw(gcn::Graphics *graphics)
mHighlightColor.a = static_cast<int>(mAlpha * 255.0f);
graphics->setColor(mHighlightColor);
gcn::Font *const font = getFont();
- graphics->setFont(font);
const int height = getRowHeight();