diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:42:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:42:20 +0300 |
commit | 35d796b927447760772d2720a221e21fdf9fd10e (patch) | |
tree | 5981066559c9917f44c31577f52a19187f0bd339 /src/gui/windows/itemamountwindow.cpp | |
parent | 07abefc34abc3731f5eb63a7616231827b11e271 (diff) | |
download | manaverse-35d796b927447760772d2720a221e21fdf9fd10e.tar.gz manaverse-35d796b927447760772d2720a221e21fdf9fd10e.tar.bz2 manaverse-35d796b927447760772d2720a221e21fdf9fd10e.tar.xz manaverse-35d796b927447760772d2720a221e21fdf9fd10e.zip |
Remove default parameters from icon.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 41916c514..75a2361bf 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -139,7 +139,8 @@ ItemAmountWindow::ItemAmountWindow(const ItemAmountWindowUsageT usage, mItemPriceTextField(nullptr), mGPLabel(nullptr), mItem(item), - mItemIcon(new Icon(this, item != nullptr ? item->getImage() : nullptr)), + mItemIcon(new Icon(this, + item != nullptr ? item->getImage() : nullptr, AutoRelease_false)), mItemAmountSlide(new Slider(this, 1.0, maxRange, 1.0)), mItemPriceSlide(nullptr), mItemDropDown(nullptr), |