summaryrefslogtreecommitdiff
path: root/src/gui/widgets/pincode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/pincode.cpp')
-rw-r--r--src/gui/widgets/pincode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp
index 7d3933dea..26b6f29d3 100644
--- a/src/gui/widgets/pincode.cpp
+++ b/src/gui/widgets/pincode.cpp
@@ -162,7 +162,7 @@ void Pincode::action(const ActionEvent &event)
}
if (mText.size() >= 4)
return;
- Widget *const eventSrc = event.getSource();
+ const Widget *const eventSrc = event.getSource();
for (int f = 0; f < 10; f ++)
{
if (mButtons[f] == eventSrc)
@@ -176,7 +176,7 @@ void Pincode::action(const ActionEvent &event)
}
}
-void Pincode::shuffle(uint32_t seed)
+void Pincode::shuffle(uint32_t seed) const
{
int tab[10];
const uint32_t multiplier = 0x3498;