summaryrefslogtreecommitdiff
path: root/src/gui/worldselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-03 22:11:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-04 23:57:02 +0300
commit10c8e7da87de2219fad19fd899e97257164e4830 (patch)
tree57ec3359cdd8cbb24b88e4f13a05d210326151ab /src/gui/worldselectdialog.cpp
parent0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (diff)
downloadplus-10c8e7da87de2219fad19fd899e97257164e4830.tar.gz
plus-10c8e7da87de2219fad19fd899e97257164e4830.tar.bz2
plus-10c8e7da87de2219fad19fd899e97257164e4830.tar.xz
plus-10c8e7da87de2219fad19fd899e97257164e4830.zip
Extend background theming.
Diffstat (limited to 'src/gui/worldselectdialog.cpp')
-rw-r--r--src/gui/worldselectdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp
index 16253c26e..13f2694b0 100644
--- a/src/gui/worldselectdialog.cpp
+++ b/src/gui/worldselectdialog.cpp
@@ -83,7 +83,8 @@ WorldSelectDialog::WorldSelectDialog(Worlds worlds):
mChangeLoginButton(new Button(_("Change Login"), "login", this)),
mChooseWorld(new Button(_("Choose World"), "world", this))
{
- ScrollArea *worldsScroll = new ScrollArea(mWorldList);
+ ScrollArea *worldsScroll = new ScrollArea(mWorldList,
+ getOptionBool("showbackground"), "world_background.xml");
worldsScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);