summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/inttextfield.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/inttextfield.h b/src/gui/widgets/inttextfield.h
index 8919885e5..1d1980069 100644
--- a/src/gui/widgets/inttextfield.h
+++ b/src/gui/widgets/inttextfield.h
@@ -34,9 +34,9 @@ class IntTextField final : public TextField
/**
* Constructor, sets default value.
*/
- IntTextField(const Widget2 *const widget, const int def = 0,
- const int min = 0, const int max = 0,
- const bool enabled = true, const int width = 0);
+ explicit IntTextField(const Widget2 *const widget, const int def = 0,
+ const int min = 0, const int max = 0,
+ const bool enabled = true, const int width = 0);
A_DELETE_COPY(IntTextField)