aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2014-06-13 16:33:30 +0200
committerUlf Hermann <[email protected]>2014-06-17 16:25:47 +0200
commitb0d79542b858e0089b42f7b8c810d476a4a6b80e (patch)
treee1261a471d120a62c863d8eb0b38e9a2795ffe85 /src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp
parentc7c4be9cb27e42a58513d921afe0ec9450648a1e (diff)
QmlProfiler: Replace QStringList with QString in event data
We never have multi-string event data and dragging around the list everywhere just adds noise. Change-Id: I4c73543464abea01d342e3f0a296ed1b05ee2a88 Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp
index d62015b023c..9e4b395e66e 100644
--- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp
@@ -254,7 +254,7 @@ void QmlProfilerModelManager::addQmlEvent(QmlDebug::Message message,
int detailType,
qint64 startTime,
qint64 length,
- const QStringList &data,
+ const QString &data,
const QmlDebug::QmlEventLocation &location,
qint64 ndata1,
qint64 ndata2,
@@ -356,10 +356,10 @@ void QmlProfilerModelManager::load()
QmlProfilerFileReader reader;
connect(&reader, SIGNAL(error(QString)), this, SIGNAL(error(QString)));
connect(&reader, SIGNAL(rangedEvent(QmlDebug::Message,QmlDebug::RangeType,int,qint64,qint64,
- QStringList,QmlDebug::QmlEventLocation,
+ QString,QmlDebug::QmlEventLocation,
qint64, qint64, qint64, qint64, qint64)),
this, SLOT(addQmlEvent(QmlDebug::Message,QmlDebug::RangeType,int,qint64,qint64,
- QStringList,QmlDebug::QmlEventLocation,
+ QString,QmlDebug::QmlEventLocation,
qint64, qint64, qint64, qint64, qint64)));
connect(&reader, SIGNAL(traceStartTime(qint64)), traceTime(), SLOT(setStartTime(qint64)));
connect(&reader, SIGNAL(traceEndTime(qint64)), traceTime(), SLOT(setEndTime(qint64)));