summaryrefslogtreecommitdiff
path: root/src/listeners/newpincodelistener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/newpincodelistener.cpp')
-rw-r--r--src/listeners/newpincodelistener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/newpincodelistener.cpp b/src/listeners/newpincodelistener.cpp
index ce5a32c90..2d6a4c091 100644
--- a/src/listeners/newpincodelistener.cpp
+++ b/src/listeners/newpincodelistener.cpp
@@ -37,7 +37,7 @@ void NewPincodeListener::action(const ActionEvent &event)
event.getSource());
if (dialog != nullptr)
{
- const std::string pincode = dialog->getMsg();
+ const std::string &pincode = dialog->getMsg();
pincodeManager.setNewPincode(pincode);
}
}