summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 19:34:40 +0300
commit81145e509cdba68c94c4173e16ddd492cd813db8 (patch)
tree3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/windows/logindialog.cpp
parent5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff)
downloadmv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2
mv-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz
mv-81145e509cdba68c94c4173e16ddd492cd813db8.zip
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index f9f63fef3..f43921328 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -69,7 +69,8 @@ LoginDialog::LoginDialog(LoginData &data,
KeyListener(),
mLoginData(&data),
mServer(server),
- mUserField(new TextField(this, mLoginData->username)),
+ mUserField(new TextField(this, mLoginData->username,
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
mPassField(new PasswordField(this, mLoginData->password)),
// TRANSLATORS: login dialog label
mKeepCheck(new CheckBox(this, _("Remember username"),
@@ -89,7 +90,8 @@ LoginDialog::LoginDialog(LoginData &data,
(mLoginData->updateType & UpdateType::Custom) != 0,
this, "customhost")),
mUpdateHostText(new TextField(this, serverConfig.getValue(
- "customUpdateHost", ""))),
+ "customUpdateHost", ""),
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
mUpdateListModel(nullptr),
mUpdateHostDropDown(nullptr),
mUpdateHost(updateHost),