diff options
-rw-r--r-- | singleapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp index 54c2c2d..1ab69fa 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -240,7 +240,7 @@ void SingleApplicationPrivate::connectToPrimary( int msecs, char connectionType void SingleApplicationPrivate::terminate( int signum ) { - delete ((SingleApplication*)QApplication::instance())->d_ptr; + delete ((SingleApplication*)QCoreApplication::instance())->d_ptr; ::exit( 128 + signum ); } #endif |