summaryrefslogtreecommitdiff
path: root/src/gui/windows/changepassworddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r--src/gui/windows/changepassworddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index eb7380f20..383b6a63e 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -97,7 +97,7 @@ void ChangePasswordDialog::action(const ActionEvent &event)
}
else if (eventId == "change_password")
{
- const std::string username = mLoginData->username.c_str();
+ const std::string username = mLoginData->username;
const std::string &oldPassword = mOldPassField->getText();
const std::string &newFirstPass = mFirstPassField->getText();
const std::string &newSecondPass = mSecondPassField->getText();