forked from qt-creator/qt-creator
ProjectExplorer: Rename DeviceProcess::error to errorOccured
That's what QProcess favors nowadays and QtcProcess uses. Change-Id: Ie9492ae62f23e35a8a70f72196c3d1b6bc50cbdc Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -154,7 +154,7 @@ void DockerDeviceProcess::start(const Runnable &runnable)
|
||||
m_process.setCommand(command);
|
||||
m_process.setEnvironment(runnable.environment);
|
||||
m_process.setWorkingDirectory(runnable.workingDirectory);
|
||||
connect(&m_process, &QtcProcess::errorOccurred, this, &DeviceProcess::error);
|
||||
connect(&m_process, &QtcProcess::errorOccurred, this, &DeviceProcess::errorOccurred);
|
||||
connect(&m_process, &QtcProcess::finished, this, &DeviceProcess::finished);
|
||||
connect(&m_process, &QtcProcess::readyReadStandardOutput,
|
||||
this, &DeviceProcess::readyReadStandardOutput);
|
||||
@@ -569,7 +569,7 @@ DockerDevice::DockerDevice(const DockerDeviceData &data)
|
||||
}
|
||||
proc->deleteLater();
|
||||
});
|
||||
QObject::connect(proc, &DeviceProcess::error, [proc] {
|
||||
QObject::connect(proc, &DeviceProcess::errorOccurred, [proc] {
|
||||
MessageManager::writeDisrupting(tr("Error starting remote shell."));
|
||||
proc->deleteLater();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user