summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popuplist.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-30 21:52:29 +0000
committerAndrei Karas <akaras@inbox.ru>2018-04-30 21:56:50 +0300
commitfcfc0bfbcc57c09f0f20e77dc0dee335ae736135 (patch)
treea96de85a85dd8f964771c68c94241f5c62b1748c /src/gui/widgets/popuplist.cpp
parenta946678bc7f37475ecef5b4282a77bc4e0f1afa7 (diff)
downloadmanaverse-fcfc0bfbcc57c09f0f20e77dc0dee335ae736135.tar.gz
manaverse-fcfc0bfbcc57c09f0f20e77dc0dee335ae736135.tar.bz2
manaverse-fcfc0bfbcc57c09f0f20e77dc0dee335ae736135.tar.xz
manaverse-fcfc0bfbcc57c09f0f20e77dc0dee335ae736135.zip
fix warnings on sunon compilation.
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r--src/gui/widgets/popuplist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp
index 627a6cfe6..c6412a69b 100644
--- a/src/gui/widgets/popuplist.cpp
+++ b/src/gui/widgets/popuplist.cpp
@@ -33,12 +33,12 @@
PopupList::PopupList(DropDown *const widget,
ListModel *const listModel,
- const bool extended,
+ const bool isExtended,
const Modal modal) :
Popup("PopupList", "popuplist.xml"),
FocusListener(),
mListModel(listModel),
- mListBox(extended ? CREATEWIDGETR(ExtendedListBox,
+ mListBox(isExtended ? CREATEWIDGETR(ExtendedListBox,
widget, listModel, "extendedlistbox.xml", 0) :
CREATEWIDGETR(ListBox,
widget, listModel, "popuplistbox.xml")),