summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 23:32:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 23:32:36 +0300
commit56521cb9236ac7e967117cb967c371c1ae836061 (patch)
treecb12fba676bf6a437b12644aca25c81c1c6ea451 /src
parentbe1719093f07d2545a0d6bfe5710e1fc0b93b2f0 (diff)
downloadmv-56521cb9236ac7e967117cb967c371c1ae836061.tar.gz
mv-56521cb9236ac7e967117cb967c371c1ae836061.tar.bz2
mv-56521cb9236ac7e967117cb967c371c1ae836061.tar.xz
mv-56521cb9236ac7e967117cb967c371c1ae836061.zip
Remove default parameters from extendedlistbox.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/extendedlistbox.h2
-rw-r--r--src/gui/windows/npcdialog.cpp2
-rw-r--r--src/gui/windows/questswindow.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/extendedlistbox.h b/src/gui/widgets/extendedlistbox.h
index 6d97ee6d3..b1401ac86 100644
--- a/src/gui/widgets/extendedlistbox.h
+++ b/src/gui/widgets/extendedlistbox.h
@@ -33,7 +33,7 @@ class ExtendedListBox final : public ListBox
ExtendedListBox(const Widget2 *const widget,
ListModel *const listModel,
const std::string &skin,
- const unsigned int rowHeight = 13);
+ const unsigned int rowHeight);
A_DELETE_COPY(ExtendedListBox)
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index ca6607c41..1a1a69227 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -111,7 +111,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mItems(),
mImages(),
mItemList(CREATEWIDGETR(ExtendedListBox,
- this, this, "extendedlistbox.xml")),
+ this, this, "extendedlistbox.xml", 13)),
mListScrollArea(new ScrollArea(this, mItemList,
fromBool(getOptionBool("showlistbackground"), Opaque),
"npc_listbackground.xml")),
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 4e1b58c33..fdecd8ba3 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -66,7 +66,7 @@ QuestsWindow::QuestsWindow() :
ActionListener(),
mQuestsModel(new QuestsModel),
mQuestsListBox(CREATEWIDGETR(ExtendedListBox,
- this, mQuestsModel, "extendedlistbox.xml")),
+ this, mQuestsModel, "extendedlistbox.xml", 13)),
mQuestScrollArea(new ScrollArea(this, mQuestsListBox,
fromBool(getOptionBool("showlistbackground"), Opaque),
"quests_list_background.xml")),