forked from qt-creator/qt-creator
QmlProfiler: Eliminate QmlProfilerDataState
This class is only accessible through the model manager and there is no real point in keeping it separate. Change-Id: I575d47c08aa8f6731d44739f9604072b95fd1dcd Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -131,9 +131,9 @@ void QmlProfilerEventsModelProxy::limitToRange(qint64 rangeStart, qint64 rangeEn
|
||||
|
||||
void QmlProfilerEventsModelProxy::dataChanged()
|
||||
{
|
||||
if (d->modelManager->state() == QmlProfilerDataState::ProcessingData)
|
||||
if (d->modelManager->state() == QmlProfilerModelManager::ProcessingData)
|
||||
loadData();
|
||||
else if (d->modelManager->state() == QmlProfilerDataState::ClearingData)
|
||||
else if (d->modelManager->state() == QmlProfilerModelManager::ClearingData)
|
||||
clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user