summaryrefslogtreecommitdiff
path: root/src
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
parent28aff0f2fd8789b01a61ca19f172962a1ad32a1d (diff)
downloadmv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.gz
mv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.bz2
mv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.xz
mv-77e7841e0f8076bc4e536ade9078d8194483b71b.zip
change inttextfield constructor to explicit.
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)