diff --git a/src/Main.cpp b/src/Main.cpp --- a/src/Main.cpp +++ b/src/Main.cpp @@ -140,7 +140,7 @@ // release the kraken SpectacleCore core(startMode, grabMode, fileName, delayMsec, notify); - QObject::connect(&core, &SpectacleCore::allDone, qApp, &QApplication::quit); + QObject::connect(&core, &SpectacleCore::allDone, &app, &QApplication::quit); // create the dbus connections