summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/dropdown.cpp4
-rw-r--r--src/gui/widgets/dropdown.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index 07d48f13d..0cfcb2a6f 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -52,8 +52,8 @@ static std::string const dropdownFiles[2] =
DropDown::DropDown(const Widget2 *const widget,
gcn::ListModel *const listModel,
- bool extended,
- bool modal,
+ const bool extended,
+ const bool modal,
gcn::ActionListener *const listener,
const std::string &eventId):
gcn::ActionListener(),
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index c345fc6cc..f2266ceda 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -68,8 +68,8 @@ class DropDown final : public gcn::ActionListener,
*/
DropDown(const Widget2 *const widget,
gcn::ListModel *const listModel,
- bool extended = false,
- bool modal = false,
+ const bool extended = false,
+ const bool modal = false,
gcn::ActionListener *const listener = nullptr,
const std::string &eventId = "");