summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 72b8fdf1f..a5a6885ad 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -147,7 +147,7 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
mServersList->addMouseListener(this);
ScrollArea *const usedScroll = new ScrollArea(this, mServersList,
- fromBool(getOptionBool("showbackground"), Opaque),
+ fromBool(getOptionBool("showbackground", false), Opaque),
"server_background.xml");
usedScroll->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
@@ -178,7 +178,7 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
setMinWidth(310);
setMinHeight(220);
- setDefaultSize(getWidth(), getHeight(), ImagePosition::CENTER);
+ setDefaultSize(getWidth(), getHeight(), ImagePosition::CENTER, 0, 0);
setResizable(true);
addKeyListener(this);