diff options
-rw-r--r-- | src/listeners/changepincodelistener.cpp | 2 | ||||
-rw-r--r-- | src/listeners/newpincodelistener.cpp | 2 | ||||
-rw-r--r-- | src/listeners/pincodelistener.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/listeners/changepincodelistener.cpp b/src/listeners/changepincodelistener.cpp index 3f5d98aa0..273b40c70 100644 --- a/src/listeners/changepincodelistener.cpp +++ b/src/listeners/changepincodelistener.cpp @@ -37,7 +37,7 @@ void ChangePincodeListener::action(const ActionEvent &event) event.getSource()); if (dialog != nullptr) { - const std::string pincode = dialog->getMsg(); + const std::string &pincode = dialog->getMsg(); pincodeManager.changePincode(pincode); } } 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); } } diff --git a/src/listeners/pincodelistener.cpp b/src/listeners/pincodelistener.cpp index 3179bbed6..6f83c5cf8 100644 --- a/src/listeners/pincodelistener.cpp +++ b/src/listeners/pincodelistener.cpp @@ -37,7 +37,7 @@ void PincodeListener::action(const ActionEvent &event) event.getSource()); if (dialog != nullptr) { - const std::string pincode = dialog->getMsg(); + const std::string &pincode = dialog->getMsg(); pincodeManager.sendPincode(pincode); } } |