diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 07:55:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 07:55:28 +0300 |
commit | 6e50bd34ec3595bf403bd2e1c2f7284392ed0f71 (patch) | |
tree | dc6f7d6739614d3098ae1cc1ad1d8481b25b9934 | |
parent | b624b0a4d6410134072c894d5686335c588a6c99 (diff) | |
download | manaverse-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.gz manaverse-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.bz2 manaverse-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.tar.xz manaverse-6e50bd34ec3595bf403bd2e1c2f7284392ed0f71.zip |
Fix clang-tidy errors.
-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); } } |