summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
commit30ba8a737da8b1811397786106085f2c13167803 (patch)
tree09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/editserverdialog.cpp
parent03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff)
downloadmanaplus-30ba8a737da8b1811397786106085f2c13167803.tar.gz
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.xz
manaplus-30ba8a737da8b1811397786106085f2c13167803.zip
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index 4354a5b29..9ca3b9c4d 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -44,7 +44,7 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
const ServerInfo &server,
const int index) :
// TRANSLATORS: edit server dialog name
- Window(_("Edit Server"), Modal_true, parent),
+ Window(_("Edit Server"), Modal_true, parent, std::string()),
ActionListener(),
KeyListener(),
mServerAddressField(new TextField(this, std::string(),
@@ -138,7 +138,7 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
setMinWidth(getWidth());
setMinHeight(getHeight());
- setDefaultSize(getWidth(), getHeight(), ImagePosition::CENTER);
+ setDefaultSize(getWidth(), getHeight(), ImagePosition::CENTER, 0, 0);
setResizable(false);
addKeyListener(this);