forked from qt-creator/qt-creator
QmlProfiler: Remove unused "gap" feature
Change-Id: Ie3efdf4a7b54e470b6a3d3a7ab78277b7ab19218 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -73,8 +73,6 @@ public:
|
||||
|
||||
using namespace QmlDebug;
|
||||
|
||||
static const int GAP_TIME = 150;
|
||||
|
||||
void QmlProfilerTraceClientPrivate::sendRecordingStatus(int engineId)
|
||||
{
|
||||
QPacket stream(q->connection()->currentDataStreamVersion());
|
||||
@@ -213,9 +211,6 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
|
||||
else
|
||||
subtype = -1;
|
||||
|
||||
if (time > (d->maximumTime + GAP_TIME) && 0 == d->inProgressRanges)
|
||||
emit gap(time);
|
||||
|
||||
switch (messageType) {
|
||||
case Event: {
|
||||
switch (subtype) {
|
||||
|
||||
@@ -67,7 +67,6 @@ public slots:
|
||||
|
||||
signals:
|
||||
void complete(qint64 maximumTime);
|
||||
void gap(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,
|
||||
|
||||
Reference in New Issue
Block a user