summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 22:17:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit43c3aff88f86612b44e1f4789f4f35b2599df84f (patch)
tree1585f6db85dbccc767918282c5d16824c3a2d7e3 /src/gui/windows/shopwindow.cpp
parent78c28d368c383ef3705f9128b0ed0a5b36996da4 (diff)
downloadplus-43c3aff88f86612b44e1f4789f4f35b2599df84f.tar.gz
plus-43c3aff88f86612b44e1f4789f4f35b2599df84f.tar.bz2
plus-43c3aff88f86612b44e1f4789f4f35b2599df84f.tar.xz
plus-43c3aff88f86612b44e1f4789f4f35b2599df84f.zip
move virtual member calls from shopwindow constuctor into postInit.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 97edec99d..aceb872fc 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -183,9 +183,12 @@ ShopWindow::ShopWindow():
loadWindowState();
instances.push_back(this);
+}
+
+void ShopWindow::postInit()
+{
setVisible(false);
enableVisibleSound(true);
-
updateButtonsAndLabels();
}