diff options
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index e99d1b68e..21af69b91 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -48,6 +48,7 @@ #include "net/updatetypeoperators.h" #include "utils/delete2.h" +#include "utils/stdmove.h" #include "debug.h" @@ -357,7 +358,7 @@ void LoginDialog::prepareUpdate() if (!str.empty() && checkPath(str)) { mLoginData->updateHost = str; - *mUpdateHost = str; + *mUpdateHost = STD_MOVE(str); } else { |