summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:03:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit77e7841e0f8076bc4e536ade9078d8194483b71b (patch)
tree8c9fda062aed989f2eccad055ee480a939cacbd6 /src/gui
parent28aff0f2fd8789b01a61ca19f172962a1ad32a1d (diff)
downloadplus-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.gz
plus-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.bz2
plus-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.xz
plus-77e7841e0f8076bc4e536ade9078d8194483b71b.zip
change inttextfield constructor to explicit.
Diffstat (limited to 'src/gui')
-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)