summaryrefslogtreecommitdiff
path: root/src/shared/trk/launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/trk/launcher.cpp')
-rw-r--r--src/shared/trk/launcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/trk/launcher.cpp b/src/shared/trk/launcher.cpp
index bae9c37e9b..3d808b2224 100644
--- a/src/shared/trk/launcher.cpp
+++ b/src/shared/trk/launcher.cpp
@@ -76,6 +76,7 @@ Launcher::Launcher(Actions startupActions) :
{
d->m_startupActions = startupActions;
connect(&d->m_device, SIGNAL(messageReceived(trk::TrkResult)), this, SLOT(handleResult(trk::TrkResult)));
+ connect(this, SIGNAL(finished()), &d->m_device, SLOT(close()));
}
Launcher::~Launcher()