diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:14:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | b36dcf86bb443770dd8fc2ea08c709f92115613a (patch) | |
tree | c58a60553e521e37ad0da5b9818dc3b8c8b06e6b /src/gui/windows/inventorywindow.cpp | |
parent | c7ce3fa82460fdd426fad8f6aaea0351f7d8c787 (diff) | |
download | plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.gz plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.bz2 plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.xz plus-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.cpp | 4 |
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()); |