From 35d796b927447760772d2720a221e21fdf9fd10e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 04:42:20 +0300 Subject: Remove default parameters from icon. --- src/gui/windows/itemamountwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows') 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), -- cgit v1.2.3-60-g2f50