forked from qt-creator/qt-creator
QmlProfiler: Simplify application state handling
Only half of the states are useful for anything. Change-Id: I4591ccda6eec902e929e07947bad6c3f7b967ef9 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -203,7 +203,7 @@ void QmlProfilerStateWidget::updateDisplay()
|
||||
}
|
||||
} else if (d->m_modelManager->progress() != 0 && !d->m_modelManager->isEmpty()) {
|
||||
// When datamodel is acquiring data
|
||||
if (d->m_profilerState->currentState() != QmlProfilerStateManager::AppKilled)
|
||||
if (d->m_profilerState->currentState() != QmlProfilerStateManager::Idle)
|
||||
showText(tr("Loading data"), true);
|
||||
else // Application died before all data could be read
|
||||
showText(tr("Application stopped before loading all data"), true);
|
||||
|
||||
Reference in New Issue
Block a user