From 093a02552e0c8fe10c445c784a1766ef88a00d21 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 19:54:19 +0300 Subject: add missing const into dropdown. --- src/gui/widgets/dropdown.cpp | 4 ++-- src/gui/widgets/dropdown.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 = ""); -- cgit v1.2.3-60-g2f50