forked from qt-creator/qt-creator
DeviceProcess: Minimize the usage of DeviceProcess
DeviceProcess doesn't provide any public API, so replace all usages of it with QtcProcess. Keep using DeviceProcess only for reimplementations. Change-Id: I35a14251a81dd0dde426f56ca2e809b527cc863c Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -40,10 +40,10 @@ LinuxDeviceProcess::LinuxDeviceProcess(const QSharedPointer<const ProjectExplore
|
||||
QObject *parent)
|
||||
: ProjectExplorer::SshDeviceProcess(device, parent)
|
||||
{
|
||||
connect(this, &DeviceProcess::finished, this, [this]() {
|
||||
connect(this, &QtcProcess::finished, this, [this]() {
|
||||
m_processId = 0;
|
||||
});
|
||||
connect(this, &DeviceProcess::started, this, [this]() {
|
||||
connect(this, &QtcProcess::started, this, [this]() {
|
||||
m_pidParsed = false;
|
||||
m_output.clear();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user