summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:14:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commitb36dcf86bb443770dd8fc2ea08c709f92115613a (patch)
treec58a60553e521e37ad0da5b9818dc3b8c8b06e6b /src/gui/windows/inventorywindow.cpp
parentc7ce3fa82460fdd426fad8f6aaea0351f7d8c787 (diff)
downloadmv-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.gz
mv-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.bz2
mv-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.xz
mv-b36dcf86bb443770dd8fc2ea08c709f92115613a.zip
move virtual member calls from inventory window constuctor into postInit.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index dde1bf709..6fffb3cf2 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -282,6 +282,10 @@ InventoryWindow::InventoryWindow(Inventory *const inventory):
loadWindowState();
enableVisibleSound(true);
+}
+
+void InventoryWindow::postInit()
+{
slotsChanged(mInventory);
mItems->setSortType(mSortDropDown->getSelected());