summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 19:54:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 19:54:19 +0300
commit093a02552e0c8fe10c445c784a1766ef88a00d21 (patch)
treed2f15eee5d701c9b94d24c2ab9f4846888bcb411
parentb51356b80da3de094dea8b81747e7bdf25f00b55 (diff)
downloadmanaverse-093a02552e0c8fe10c445c784a1766ef88a00d21.tar.gz
manaverse-093a02552e0c8fe10c445c784a1766ef88a00d21.tar.bz2
manaverse-093a02552e0c8fe10c445c784a1766ef88a00d21.tar.xz
manaverse-093a02552e0c8fe10c445c784a1766ef88a00d21.zip
add missing const into dropdown.
-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 = "");