summaryrefslogtreecommitdiff
path: root/src/listeners/pincodelistener.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
commit566ae30ff94caf6c92fc7d64f021b567933f8a60 (patch)
treeeae43b8899444f99a97fdd00bc5df8a117c316e9 /src/listeners/pincodelistener.cpp
parent247418a3ec0b50479c7bac80322202b01527ae61 (diff)
downloadplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.gz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.bz2
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.xz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.zip
fix code style.
Diffstat (limited to 'src/listeners/pincodelistener.cpp')
-rw-r--r--src/listeners/pincodelistener.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/listeners/pincodelistener.cpp b/src/listeners/pincodelistener.cpp
index 0c64bb73c..8938d0a8a 100644
--- a/src/listeners/pincodelistener.cpp
+++ b/src/listeners/pincodelistener.cpp
@@ -31,7 +31,8 @@ PincodeListener pincodeListener;
void PincodeListener::action(const ActionEvent &event)
{
- EditDialog *const dialog = dynamic_cast<EditDialog*>(event.getSource());
+ const EditDialog *const dialog = dynamic_cast<EditDialog*>(
+ event.getSource());
if (dialog)
{
const std::string pincode = dialog->getMsg();