summaryrefslogtreecommitdiff
path: root/src/listeners/changepincodelistener.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 07:55:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 07:55:28 +0300
commit6e50bd34ec3595bf403bd2e1c2f7284392ed0f71 (patch)
treedc6f7d6739614d3098ae1cc1ad1d8481b25b9934 /src/listeners/changepincodelistener.cpp
parentb624b0a4d6410134072c894d5686335c588a6c99 (diff)
downloadplus-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.gz
plus-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.bz2
plus-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.xz
plus-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.zip
Fix clang-tidy errors.
Diffstat (limited to 'src/listeners/changepincodelistener.cpp')
-rw-r--r--src/listeners/changepincodelistener.cpp2
1 files changed, 1 insertions, 1 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);
}
}