summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
commit03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (patch)
treee60a1fd194180fea9dd37553c97ab2e28f4cdfc7 /src/gui/widgets/dropdown.h
parent6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff)
downloadplus-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz
plus-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2
plus-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz
plus-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r--src/gui/widgets/dropdown.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index 029850766..ec2e2136e 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -57,10 +57,10 @@ class DropDown final : public ActionListener,
public:
DropDown(const Widget2 *const widget,
ListModel *const listModel,
- const bool extended = false,
- const Modal modal = Modal_false,
- ActionListener *const listener = nullptr,
- const std::string &eventId = "");
+ const bool extended,
+ const Modal modal,
+ ActionListener *const listener,
+ const std::string &eventId);
A_DELETE_COPY(DropDown)
@@ -110,7 +110,7 @@ class DropDown final : public ActionListener,
void foldUp();
- void hideDrop(bool event = true);
+ void hideDrop(bool event);
int getSelected() const;