summaryrefslogtreecommitdiff
path: root/src/listeners/pincodelistener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/pincodelistener.cpp')
-rw-r--r--src/listeners/pincodelistener.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}