forked from qt-creator/qt-creator
QmlProfiler: Drop QmlProfilerDataModel::changed() signal
Nobody is listening to it anymore. Change-Id: I7a437334e3fc6f091c8515574007b400eb312a72 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -157,7 +157,6 @@ void QmlProfilerDataModel::clear()
|
|||||||
d->eventTypes.clear();
|
d->eventTypes.clear();
|
||||||
d->eventTypeIds.clear();
|
d->eventTypeIds.clear();
|
||||||
d->detailsRewriter->clearRequests();
|
d->detailsRewriter->clearRequests();
|
||||||
emit changed();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QmlProfilerDataModel::isEmpty() const
|
bool QmlProfilerDataModel::isEmpty() const
|
||||||
@@ -224,8 +223,6 @@ void QmlProfilerDataModel::processData()
|
|||||||
d->detailsRewriter->requestDetailsForLocation(i, event->location);
|
d->detailsRewriter->requestDetailsForLocation(i, event->location);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow changed() event only after documents have been reloaded to avoid
|
|
||||||
// unnecessary updates of child models.
|
|
||||||
emit requestReload();
|
emit requestReload();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -276,7 +273,6 @@ void QmlProfilerDataModel::detailsChanged(int requestId, const QString &newStrin
|
|||||||
void QmlProfilerDataModel::detailsDone()
|
void QmlProfilerDataModel::detailsDone()
|
||||||
{
|
{
|
||||||
Q_D(QmlProfilerDataModel);
|
Q_D(QmlProfilerDataModel);
|
||||||
emit changed();
|
|
||||||
d->modelManager->processingDone();
|
d->modelManager->processingDone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ public:
|
|||||||
qint64 lastTimeMark() const;
|
qint64 lastTimeMark() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void changed();
|
|
||||||
void requestReload();
|
void requestReload();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|||||||
Reference in New Issue
Block a user