forked from qt-creator/qt-creator
Debugger: Streamline error string handling
Let the workers keep track of errors instead of passing around string pointers in some but not all interesting places. Change-Id: I3956bc947a50747dd3a0c9302b9f9873d192e9c6 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1547,7 +1547,12 @@ void RunWorker::setSupportsReRunning(bool reRunningSupported)
|
||||
|
||||
bool RunWorker::supportsReRunning() const
|
||||
{
|
||||
return d->supportsReRunning;
|
||||
return d->supportsReRunning;
|
||||
}
|
||||
|
||||
bool RunWorker::hasFailed() const
|
||||
{
|
||||
return d->state == RunWorkerState::Failed;
|
||||
}
|
||||
|
||||
QString RunWorker::userMessageForProcessError(QProcess::ProcessError error, const QString &program)
|
||||
|
||||
Reference in New Issue
Block a user