From bd96450423276272e1cddf8be91cc63f860eb125 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 May 2015 21:27:20 +0300 Subject: Call Window::postInit from all windows with overrided postInit method. --- src/gui/windows/quitdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows/quitdialog.cpp') diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp index 9a08951c7..8af4db969 100644 --- a/src/gui/windows/quitdialog.cpp +++ b/src/gui/windows/quitdialog.cpp @@ -120,6 +120,7 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) : void QuitDialog::postInit() { + Window::postInit(); setLocationRelativeTo(getParent()); setVisible(true); soundManager.playGuiSound(SOUND_SHOW_WINDOW); -- cgit v1.2.3-70-g09d2