QTfrontend/main.cpp
changeset 8708 6354b01d5500
parent 8651 da384b09eb2b
child 8715 70a586fc76fd
--- a/QTfrontend/main.cpp	Sun Mar 10 00:40:00 2013 +0100
+++ b/QTfrontend/main.cpp	Sun Mar 10 01:02:15 2013 +0100
@@ -94,14 +94,7 @@
     else
         season = SEASON_NONE;
 }
-#ifndef _WIN32
-void terminateFrontend(int signal)
-{
-    Q_UNUSED(signal);
 
-    QCoreApplication::exit(0);
-}
-#endif
 
 bool checkForDir(const QString & dir)
 {
@@ -147,10 +140,6 @@
     cocoaInit = new CocoaInitializer(); // Creates the autoreleasepool preventing cocoa object leaks on OS X.
 #endif
 
-#ifndef _WIN32
-    signal(SIGINT, &terminateFrontend);
-#endif
-
     HWApplication app(argc, argv);
 
     QLabel *splash = NULL;