summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-11-22 16:49:34 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-11-23 12:40:06 +0000
commit129bd24131f2a240a60ce67ee0f31387d8df2da5 (patch)
tree0aa3ca24c35f2a7df08b0598e921291093672547
parent2a830a12f2bb08517d04f1ecaa249b8e848044e7 (diff)
downloadqt-creator-129bd24131f2a240a60ce67ee0f31387d8df2da5.tar.gz
TarPackageDeployService: Don't disconnect from installer signals
It looks like the same instance of TarPackageDeployService may be reused for subsequent application run. Close the process instead. Change-Id: I3430404c33c14b1b4f24b728b44b3e54a57e3c9b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rw-r--r--src/plugins/remotelinux/tarpackagedeploystep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/tarpackagedeploystep.cpp b/src/plugins/remotelinux/tarpackagedeploystep.cpp
index d4a1a2c64a..bf7a82e427 100644
--- a/src/plugins/remotelinux/tarpackagedeploystep.cpp
+++ b/src/plugins/remotelinux/tarpackagedeploystep.cpp
@@ -177,7 +177,7 @@ void TarPackageDeployService::setFinished()
{
m_state = Inactive;
m_uploader.stop();
- disconnect(&m_installer, nullptr, this, nullptr);
+ m_installer.close();
handleDeploymentDone();
}