summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
commit03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (patch)
treee60a1fd194180fea9dd37553c97ab2e28f4cdfc7 /src/gui/windows/editserverdialog.cpp
parent6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff)
downloadmanaverse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz
manaverse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2
manaverse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz
manaverse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index a659612fb..4354a5b29 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -69,7 +69,8 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
mPersistentIp(new CheckBox(this, _("Use same ip"),
true, this, "persistentIp")),
mTypeListModel(new TypeListModel),
- mTypeField(new DropDown(this, mTypeListModel, false, Modal_true)),
+ mTypeField(new DropDown(this, mTypeListModel,
+ false, Modal_true, nullptr, std::string())),
mServerDialog(parent),
mServer(server),
mIndex(index)