forked from qt-creator/qt-creator
QmlProfiler: Fix placeholder
Change-Id: Ibb6d4abed9e7b7da1d3ccceaa04970d72769195a Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -789,7 +789,7 @@ void QmlProfilerTraceFile::saveQtd(QIODevice *device)
|
|||||||
if (stream.hasError())
|
if (stream.hasError())
|
||||||
fail(tr("Error writing trace file."));
|
fail(tr("Error writing trace file."));
|
||||||
}, [this](const QString &message) {
|
}, [this](const QString &message) {
|
||||||
fail(tr("Could not re-read events from temporary trace file: %s\nSaving failed.")
|
fail(tr("Could not re-read events from temporary trace file: %1\nSaving failed.")
|
||||||
.arg(message));
|
.arg(message));
|
||||||
}, future());
|
}, future());
|
||||||
}
|
}
|
||||||
@@ -857,7 +857,7 @@ void QmlProfilerTraceFile::saveQzt(QIODevice *device)
|
|||||||
addEventsProgress(traceEnd() - lastProgressTimestamp);
|
addEventsProgress(traceEnd() - lastProgressTimestamp);
|
||||||
}
|
}
|
||||||
}, [this](const QString &message) {
|
}, [this](const QString &message) {
|
||||||
fail(tr("Could not re-read events from temporary trace file: %s\nSaving failed.")
|
fail(tr("Could not re-read events from temporary trace file: %1\nSaving failed.")
|
||||||
.arg(message));
|
.arg(message));
|
||||||
}, future());
|
}, future());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user