summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-03 20:00:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-03 20:00:46 +0300
commita1bd0179b28fa93c771bc5602f64746878f0ffad (patch)
treeff696a9b98c32441b06ffabf2a8ca7312590c8e3 /src/gui/inventorywindow.cpp
parent41953ac4902ca11bb07b0aab53e811ca68ce4f64 (diff)
downloadplus-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.gz
plus-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.bz2
plus-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.xz
plus-a1bd0179b28fa93c771bc5602f64746878f0ffad.zip
fix some leaks on exit.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 323830e33..a9a096d73 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -275,7 +275,7 @@ InventoryWindow::~InventoryWindow()
if (!invInstances.empty())
invInstances.front()->updateDropButton();
- mSortDropDown->hideDrop();
+ mSortDropDown->hideDrop(false);
delete mSortModel;
mSortModel = nullptr;
//delete mTextPopup;