forked from qt-creator/qt-creator
Remove Qt version checks.
Qt 5.3 is the minimum requirement these days. Remove all fallback code from sources and project files. Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -614,14 +614,7 @@ bool SynchronousProcess::readDataFromProcess(QProcess &p, int timeOutMS,
|
||||
}
|
||||
// Prompt user, pretend we have data if says 'No'.
|
||||
const bool hang = !hasData && !finished;
|
||||
if (hang && showTimeOutMessageBox) {
|
||||
QString binary;
|
||||
#if QT_VERSION >= 0x050000
|
||||
binary = p.program();
|
||||
#endif
|
||||
if (!askToKill(binary))
|
||||
hasData = true;
|
||||
}
|
||||
hasData = hang && showTimeOutMessageBox && !askToKill(p.program());
|
||||
} while (hasData && !finished);
|
||||
if (syncDebug)
|
||||
qDebug() << "<readDataFromProcess" << finished;
|
||||
|
||||
Reference in New Issue
Block a user