diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:50:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:50:46 +0300 |
commit | 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (patch) | |
tree | e60a1fd194180fea9dd37553c97ab2e28f4cdfc7 /src/gui/windows/editserverdialog.cpp | |
parent | 6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff) | |
download | mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2 mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip |
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r-- | src/gui/windows/editserverdialog.cpp | 3 |
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) |