diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-03 22:11:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-04 23:57:02 +0300 |
commit | 10c8e7da87de2219fad19fd899e97257164e4830 (patch) | |
tree | 57ec3359cdd8cbb24b88e4f13a05d210326151ab /src/gui/serverdialog.cpp | |
parent | 0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (diff) | |
download | manaplus-10c8e7da87de2219fad19fd899e97257164e4830.tar.gz manaplus-10c8e7da87de2219fad19fd899e97257164e4830.tar.bz2 manaplus-10c8e7da87de2219fad19fd899e97257164e4830.tar.xz manaplus-10c8e7da87de2219fad19fd899e97257164e4830.zip |
Extend background theming.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index a0cfda292..0badba504 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -267,7 +267,8 @@ ServerDialog::ServerDialog(ServerInfo *serverInfo, const std::string &dir): mServersList = new ServersListBox(mServersListModel); mServersList->addMouseListener(this); - ScrollArea *usedScroll = new ScrollArea(mServersList); + ScrollArea *usedScroll = new ScrollArea(mServersList, + getOptionBool("showbackground"), "server_background.xml"); usedScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); int n = 0; |