forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user