summaryrefslogtreecommitdiff
path: root/daemon/daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/daemon.cpp')
-rw-r--r--daemon/daemon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/daemon.cpp b/daemon/daemon.cpp
index 584710a..9d89980 100644
--- a/daemon/daemon.cpp
+++ b/daemon/daemon.cpp
@@ -87,6 +87,7 @@ int main(int argc, char *argv[])
signal(SIGINT, signalhandler);
signal(SIGTERM, signalhandler);
QObject::connect(&app, SIGNAL(aboutToQuit()), &watch, SLOT(endPhoneCall()));
+ QObject::connect(&app, SIGNAL(aboutToQuit()), &watch, SLOT(disconnect()));
return app.exec();
}