From a90a841d4238ad979689649d6ff29ca936becf22 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Thu, 11 Jul 2013 12:09:12 +0200 Subject: QmlProfiler: make details string match between versions Change-Id: I21ba44d6160aed5fb4685570bb38da6d83e63096 Reviewed-by: Kai Koehne --- plugins/qmlprofiler/qmlprofilerprocessedmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/qmlprofiler/qmlprofilerprocessedmodel.cpp b/plugins/qmlprofiler/qmlprofilerprocessedmodel.cpp index 05902742e8..b917020414 100644 --- a/plugins/qmlprofiler/qmlprofilerprocessedmodel.cpp +++ b/plugins/qmlprofiler/qmlprofilerprocessedmodel.cpp @@ -74,7 +74,7 @@ QString getInitialDetails(const QmlProfilerSimpleModel::QmlEventData &event) QString details; // generate details string if (event.data.isEmpty()) - details = QmlProfilerProcessedModel::tr("Source code not available"); + details = QmlProfilerProcessedModel::tr("Source code not available."); else { details = event.data.join(QLatin1String(" ")).replace(QLatin1Char('\n'),QLatin1Char(' ')).simplified(); QRegExp rewrite(QLatin1String("\\(function \\$(\\w+)\\(\\) \\{ (return |)(.+) \\}\\)")); -- cgit v1.2.3