diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
commit | 30ba8a737da8b1811397786106085f2c13167803 (patch) | |
tree | 09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/widgets/selldialog.cpp | |
parent | 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff) | |
download | manaverse-30ba8a737da8b1811397786106085f2c13167803.tar.gz manaverse-30ba8a737da8b1811397786106085f2c13167803.tar.bz2 manaverse-30ba8a737da8b1811397786106085f2c13167803.tar.xz manaverse-30ba8a737da8b1811397786106085f2c13167803.zip |
Remove default parameters from window.
Diffstat (limited to 'src/gui/widgets/selldialog.cpp')
-rw-r--r-- | src/gui/widgets/selldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp index d60e10803..c573ad392 100644 --- a/src/gui/widgets/selldialog.cpp +++ b/src/gui/widgets/selldialog.cpp @@ -87,7 +87,7 @@ void SellDialog::postInit() setStickyButtonLock(true); setMinWidth(260); setMinHeight(220); - setDefaultSize(260, 230, ImagePosition::CENTER); + setDefaultSize(260, 230, ImagePosition::CENTER, 0, 0); if (setupWindow != nullptr) setupWindow->registerWindowForReset(this); @@ -106,7 +106,7 @@ void SellDialog::postInit() ShopListBoxType::Unknown); mShopItemList->setProtectItems(true); mScrollArea = new ScrollArea(this, mShopItemList, - fromBool(getOptionBool("showbackground"), Opaque), + fromBool(getOptionBool("showbackground", false), Opaque), "sell_background.xml"); mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); |