diff options
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index feb9a050d..4b0501def 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -89,12 +89,9 @@ ItemPopup::~ItemPopup() { if (mIcon) { - Image *image = mIcon->getImage(); + Image *const image = mIcon->getImage(); if (image) - { image->decRef(); - image = nullptr; - } } } |