Commit 8e7a95f0 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Pass input events with the same signal as all others

Change-Id: I1d2e4da0ffe4772acff95ec27d5459309d41aa60
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 419d4e44
......@@ -220,7 +220,8 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
if (!(d->features & (1 << ProfileInputEvents)))
break;
emit this->event((EventType)subtype, time);
emit this->rangedEvent(Event, MaximumRangeType, subtype, time, 0, QString(),
QmlDebug::QmlEventLocation(), 0, 0, 0, 0, 0);
d->maximumTime = qMax(time, d->maximumTime);
break;
}
......
......@@ -65,7 +65,6 @@ public slots:
signals:
void complete(qint64 maximumTime);
void gap(qint64 time);
void event(int event, qint64 time);
void traceFinished(qint64 time, const QList<int> &engineIds);
void traceStarted(qint64 time, const QList<int> &engineIds);
void rangedEvent(QmlDebug::Message, QmlDebug::RangeType, int detailType, qint64 startTime,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment