From f4f2ecc7c51b245a395324f322cb8809c48268fb Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 20 Jul 2018 18:14:21 +0200 Subject: [PATCH] QmlProfiler: Fix placeholder Change-Id: Ibb6d4abed9e7b7da1d3ccceaa04970d72769195a Reviewed-by: Ulf Hermann Reviewed-by: Tobias Hunger --- src/plugins/qmlprofiler/qmlprofilertracefile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilertracefile.cpp b/src/plugins/qmlprofiler/qmlprofilertracefile.cpp index 38ac383f363..075c518e779 100644 --- a/src/plugins/qmlprofiler/qmlprofilertracefile.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertracefile.cpp @@ -789,7 +789,7 @@ void QmlProfilerTraceFile::saveQtd(QIODevice *device) if (stream.hasError()) fail(tr("Error writing trace file.")); }, [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)); }, future()); } @@ -857,7 +857,7 @@ void QmlProfilerTraceFile::saveQzt(QIODevice *device) addEventsProgress(traceEnd() - lastProgressTimestamp); } }, [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)); }, future()); }