summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
commit30ba8a737da8b1811397786106085f2c13167803 (patch)
tree09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/questswindow.cpp
parent03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff)
downloadmanaplus-30ba8a737da8b1811397786106085f2c13167803.tar.gz
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2
manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.xz
manaplus-30ba8a737da8b1811397786106085f2c13167803.zip
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r--src/gui/windows/questswindow.cpp6
1 files changed, 3 insertions, 3 deletions
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);