diff options
Diffstat (limited to 'src/gui/logindialog.cpp')
-rw-r--r-- | src/gui/logindialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp index 00c5ab54d..41016b05c 100644 --- a/src/gui/logindialog.cpp +++ b/src/gui/logindialog.cpp @@ -268,8 +268,8 @@ void LoginDialog::action(const gcn::ActionEvent &event) } else { - mLoginData->updateHost = ""; - *mUpdateHost = ""; + mLoginData->updateHost.clear(); + (*mUpdateHost).clear(); } } else if (mUpdateHostDropDown) @@ -283,8 +283,8 @@ void LoginDialog::action(const gcn::ActionEvent &event) } else { - mLoginData->updateHost = ""; - *mUpdateHost = ""; + mLoginData->updateHost.clear(); + (*mUpdateHost).clear(); } } |