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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user