diff options
Diffstat (limited to 'src/listeners/pincodelistener.cpp')
-rw-r--r-- | src/listeners/pincodelistener.cpp | 3 |
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(); |