From 30ba8a737da8b1811397786106085f2c13167803 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Dec 2017 00:43:20 +0300 Subject: Remove default parameters from window. --- src/gui/windows/questswindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/questswindow.cpp') diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index 08863d86a..af867754a 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -68,13 +68,13 @@ QuestsWindow::QuestsWindow() : mQuestsListBox(CREATEWIDGETR(ExtendedListBox, this, mQuestsModel, "extendedlistbox.xml", 13)), mQuestScrollArea(new ScrollArea(this, mQuestsListBox, - fromBool(getOptionBool("showlistbackground"), Opaque), + fromBool(getOptionBool("showlistbackground", false), Opaque), "quests_list_background.xml")), mItemLinkHandler(new ItemLinkHandler), mText(new BrowserBox(this, Opaque_true, "browserbox.xml")), mTextScrollArea(new ScrollArea(this, mText, - fromBool(getOptionBool("showtextbackground"), Opaque), + fromBool(getOptionBool("showtextbackground", false), Opaque), "quests_text_background.xml")), // TRANSLATORS: quests window button mCloseButton(new Button(this, _("Close"), "close", this)), @@ -97,7 +97,7 @@ QuestsWindow::QuestsWindow() : setStickyButtonLock(true); setSaveVisible(true); - setDefaultSize(400, 350, ImagePosition::RIGHT); + setDefaultSize(400, 350, ImagePosition::RIGHT, 0, 0); setMinWidth(310); setMinHeight(220); -- cgit v1.2.3-70-g09d2