diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:34:40 +0300 |
commit | 81145e509cdba68c94c4173e16ddd492cd813db8 (patch) | |
tree | 3603449bfdd5e2d357b240cdaa5cead9b4077a1f /src/gui/widgets/textfield.h | |
parent | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (diff) | |
download | plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.gz plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.bz2 plus-81145e509cdba68c94c4173e16ddd492cd813db8.tar.xz plus-81145e509cdba68c94c4173e16ddd492cd813db8.zip |
Remove default parameters from textfield.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r-- | src/gui/widgets/textfield.h | 14 |
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) |