Remove the "Not supported" option from the state widget

It gets triggered accidentally when the updateDisplay() is triggered
before the views are re-enabled after loading a trace. The V8 view is
gone, so we don't need it anymore.

Change-Id: If0eb96d47243f82ef66da9b3184b3b886d6f1457
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-06-30 13:28:06 +02:00
parent f0602e4ddd
commit 6f852f1ecd

View File

@@ -224,12 +224,6 @@ void QmlProfilerStateWidget::updateDisplay()
return;
}
// View is not supported for this kind of application
if (d->traceAvailable && d->loadingDone && !parentWidget()->isEnabled()) {
showText(tr("Not supported for this application"));
return;
}
// Application died before all data could be read
if (!d->loadingDone && !d->emptyList && d->appKilled) {
showText(tr("Application stopped before loading all data"), true);