summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 04:42:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 04:42:20 +0300
commit35d796b927447760772d2720a221e21fdf9fd10e (patch)
tree5981066559c9917f44c31577f52a19187f0bd339 /src/gui/windows
parent07abefc34abc3731f5eb63a7616231827b11e271 (diff)
downloadmv-35d796b927447760772d2720a221e21fdf9fd10e.tar.gz
mv-35d796b927447760772d2720a221e21fdf9fd10e.tar.bz2
mv-35d796b927447760772d2720a221e21fdf9fd10e.tar.xz
mv-35d796b927447760772d2720a221e21fdf9fd10e.zip
Remove default parameters from icon.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/itemamountwindow.cpp3
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),