forked from qt-creator/qt-creator
QtcProcess: Limit the inclusion of qtcprocess.h
Move the rest of QtcProcess enums to processenums.h. Move ExitCodeInterpreter into processenums.h. Remove superfluous Utils:: prefix. Change-Id: Iaa596f353d33d6930085a621b114cc15a35caa80 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -145,7 +145,7 @@ void UpdateInfoPlugin::startCheckForUpdates()
|
||||
60 * 3, // 3 minutes timeout
|
||||
/*workingDirectory=*/{},
|
||||
[](int /*exitCode*/) {
|
||||
return Utils::QtcProcess::FinishedWithSuccess;
|
||||
return Utils::ProcessResult::FinishedWithSuccess;
|
||||
});
|
||||
if (d->m_settings.checkForQtVersions) {
|
||||
d->m_checkUpdatesCommand
|
||||
@@ -153,7 +153,7 @@ void UpdateInfoPlugin::startCheckForUpdates()
|
||||
{"se", "qt[.]qt[0-9][.][0-9]+$", "-g", "*=false,ifw.package.*=true"}},
|
||||
60 * 3, // 3 minutes timeout
|
||||
/*workingDirectory=*/{},
|
||||
[](int /*exitCode*/) { return Utils::QtcProcess::FinishedWithSuccess; });
|
||||
[](int /*exitCode*/) { return Utils::ProcessResult::FinishedWithSuccess; });
|
||||
}
|
||||
d->m_checkUpdatesCommand->execute();
|
||||
d->m_progress = d->m_checkUpdatesCommand->futureProgress();
|
||||
|
||||
Reference in New Issue
Block a user