From fcfc0bfbcc57c09f0f20e77dc0dee335ae736135 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Apr 2018 21:52:29 +0000 Subject: fix warnings on sunon compilation. --- src/gui/widgets/popuplist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/popuplist.cpp') 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")), -- cgit v1.2.3-70-g09d2