aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/rsyncdeploystep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/rsyncdeploystep.cpp')
-rw-r--r--src/plugins/remotelinux/rsyncdeploystep.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/rsyncdeploystep.cpp b/src/plugins/remotelinux/rsyncdeploystep.cpp
index 193a112cb55..7a161601b75 100644
--- a/src/plugins/remotelinux/rsyncdeploystep.cpp
+++ b/src/plugins/remotelinux/rsyncdeploystep.cpp
@@ -88,7 +88,7 @@ bool RsyncDeployStep::isDeploymentNecessary() const
TaskItem RsyncDeployStep::mkdirTask()
{
- const auto setupHandler = [this](QtcProcess &process) {
+ const auto setupHandler = [this](Process &process) {
QStringList remoteDirs;
for (const FileToTransfer &file : std::as_const(m_files))
remoteDirs << file.m_target.parentDir().path();
@@ -96,11 +96,11 @@ TaskItem RsyncDeployStep::mkdirTask()
remoteDirs.removeDuplicates();
process.setCommand({deviceConfiguration()->filePath("mkdir"),
QStringList("-p") + remoteDirs});
- connect(&process, &QtcProcess::readyReadStandardError, this, [this, proc = &process] {
+ connect(&process, &Process::readyReadStandardError, this, [this, proc = &process] {
handleStdErrData(QString::fromLocal8Bit(proc->readAllRawStandardError()));
});
};
- const auto errorHandler = [this](const QtcProcess &process) {
+ const auto errorHandler = [this](const Process &process) {
QString finalMessage = process.errorString();
const QString stdErr = process.cleanedStdErr();
if (!stdErr.isEmpty()) {