summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 01:09:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commit743ad72a8e89cc179cc487bdb31ee81c4a80ddd5 (patch)
tree1f68e49bf040fe86166076e589faa3f05e45ef97
parent786246efd8eb2116e1c36151018feec2b55ef73a (diff)
downloadmanaplus-743ad72a8e89cc179cc487bdb31ee81c4a80ddd5.tar.gz
manaplus-743ad72a8e89cc179cc487bdb31ee81c4a80ddd5.tar.bz2
manaplus-743ad72a8e89cc179cc487bdb31ee81c4a80ddd5.tar.xz
manaplus-743ad72a8e89cc179cc487bdb31ee81c4a80ddd5.zip
In dropdown second constuctor now dont have default value.
This mean cant be implicit conversions to dropdown from Widget2.
-rw-r--r--src/gui/widgets/dropdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index dc9c169d2..b666c90d2 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -67,7 +67,7 @@ class DropDown final : public gcn::ActionListener,
* @see ListModel, ScrollArea, ListBox.
*/
DropDown(const Widget2 *const widget,
- gcn::ListModel *const listModel = nullptr,
+ gcn::ListModel *const listModel,
bool extended = false,
bool modal = false,
gcn::ActionListener *const listener = nullptr,