summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")),