summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 8001008a1..73ce0c525 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -94,14 +94,12 @@ class TextField notfinal : public Widget,
/**
* Constructor, initializes the text field with the given string.
*/
- explicit TextField(const Widget2 *restrict const widget,
- const std::string &restrict text = "",
- const LoseFocusOnTab loseFocusOnTab =
- LoseFocusOnTab_true,
- ActionListener *restrict
- const listener = nullptr,
- const std::string &restrict eventId = "",
- const bool sendAlwaysEvents = false);
+ TextField(const Widget2 *restrict const widget,
+ const std::string &restrict text,
+ const LoseFocusOnTab loseFocusOnTab,
+ ActionListener *restrict const listener,
+ const std::string &restrict eventId,
+ const bool sendAlwaysEvents);
A_DELETE_COPY(TextField)