summaryrefslogtreecommitdiffstats
path: root/knights/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/main.cpp')
-rw-r--r--knights/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/knights/main.cpp b/knights/main.cpp
index 0b60729..cc76045 100644
--- a/knights/main.cpp
+++ b/knights/main.cpp
@@ -81,5 +81,6 @@ int main(int argc, char *argv[])
/* Without this connection, the destructors are not called, and some
housecleaning ( like destroying child processes ) isn't done */
a.connect( &a, TQT_SIGNAL( shutDown () ), knights, TQT_SLOT( KillAll() ) );
+ a.connect( &a, SIGNAL( aboutToQuit() ), knights, SLOT( aboutToQuit() ) );
return a.exec();
}