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:
Ulf Hermann
2015-09-10 13:51:54 +02:00
parent f373c6794e
commit ddb872727f
6 changed files with 70 additions and 108 deletions

View File

@@ -102,11 +102,11 @@ void QmlProfilerTimelineModel::dataChanged()
{
switch (m_modelManager->state()) {
case QmlProfilerDataState::Done:
case QmlProfilerModelManager::Done:
loadData();
emit emptyChanged();
break;
case QmlProfilerDataState::ClearingData:
case QmlProfilerModelManager::ClearingData:
clear();
break;
default: