From 7876957b484580fcf3d3d9224e6b7f3b165025f4 Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Mon, 7 Nov 2016 23:06:18 +0100 Subject: [PATCH] DaemonManager::closing() --- src/daemon/DaemonManager.cpp | 5 +++++ src/daemon/DaemonManager.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index 122aec5e..293c600b 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -123,3 +123,8 @@ DaemonManager::DaemonManager(QObject *parent) } +void DaemonManager::closing() +{ + qDebug() << __FUNCTION__; + stop(); +} diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index 6beb14ed..5c1234d6 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -27,6 +27,7 @@ signals: public slots: void printOutput(); void printError(); + void closing(); private: