summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp')
-rw-r--r--src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp b/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
index b2c216515d..5974a6d557 100644
--- a/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
+++ b/src/plugins/remotelinux/abstractuploadandinstallpackageservice.cpp
@@ -150,10 +150,12 @@ void AbstractUploadAndInstallPackageService::handleUploadFinished(const QString
+ Utils::FileName::fromString(packageFilePath()).fileName();
d->state = Installing;
emit progressMessage(tr("Installing package to device..."));
- connect(packageInstaller(), SIGNAL(stdoutData(QString)), SIGNAL(stdOutData(QString)));
- connect(packageInstaller(), SIGNAL(stderrData(QString)), SIGNAL(stdErrData(QString)));
- connect(packageInstaller(), SIGNAL(finished(QString)),
- SLOT(handleInstallationFinished(QString)));
+ connect(packageInstaller(), &AbstractRemoteLinuxPackageInstaller::stdoutData,
+ this, &AbstractRemoteLinuxDeployService::stdOutData);
+ connect(packageInstaller(), &AbstractRemoteLinuxPackageInstaller::stderrData,
+ this, &AbstractRemoteLinuxDeployService::stdErrData);
+ connect(packageInstaller(), &AbstractRemoteLinuxPackageInstaller::finished,
+ this, &AbstractUploadAndInstallPackageService::handleInstallationFinished);
packageInstaller()->installPackage(deviceConfiguration(), remoteFilePath, true);
}