From b9a0adc311d4450919c42aa6601bd2c0a3241e5d Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 21 Jul 2010 10:51:01 +0000 Subject: [PATCH] Fix compilation on Linux/Mac --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b1218ed16..7064589f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -121,13 +121,13 @@ public: void sigintHandler(int) { signal(SIGINT, 0); qDebug("Catching SIGINT, exiting cleanly"); - app->exit(); + qApp->exit(); } void sigtermHandler(int) { signal(SIGTERM, 0); qDebug("Catching SIGTERM, exiting cleanly"); - app->exit(); + qApp->exit(); } void sigsegvHandler(int) { signal(SIGABRT, 0);