summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 21:27:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 21:27:20 +0300
commitbd96450423276272e1cddf8be91cc63f860eb125 (patch)
tree7927e0857685e700d5d75678e371376fd592edb6 /src/gui/windows/quitdialog.cpp
parent773ef01f1490f0884836a9d08f75938eb8742c8e (diff)
downloadmanaplus-bd96450423276272e1cddf8be91cc63f860eb125.tar.gz
manaplus-bd96450423276272e1cddf8be91cc63f860eb125.tar.bz2
manaplus-bd96450423276272e1cddf8be91cc63f860eb125.tar.xz
manaplus-bd96450423276272e1cddf8be91cc63f860eb125.zip
Call Window::postInit from all windows with overrided postInit method.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r--src/gui/windows/quitdialog.cpp1
1 files changed, 1 insertions, 0 deletions
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);