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:
@@ -133,7 +133,7 @@ public:
|
||||
|
||||
connect(m_process, &DeviceProcess::started, this, &RunWorker::reportStarted);
|
||||
connect(m_process, &DeviceProcess::finished, this, &RunWorker::reportStopped);
|
||||
connect(m_process, &DeviceProcess::error, [this](QProcess::ProcessError e) {
|
||||
connect(m_process, &DeviceProcess::errorOccurred, [this](QProcess::ProcessError e) {
|
||||
// The terminate() below will frequently lead to QProcess::Crashed. We're not interested
|
||||
// in that. FailedToStart is the only actual failure.
|
||||
if (e == QProcess::FailedToStart) {
|
||||
|
||||
Reference in New Issue
Block a user