forked from qt-creator/qt-creator
QmlDesigner.DebugView: only show status if enabled
Change-Id: Idd8738409965251767a5fbd26421acb32b54dd15 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -69,7 +69,8 @@ void DebugView::modelAttached(Model *model)
|
||||
{
|
||||
log(tr("Model attached"), tr("FileName %1").arg(model->fileUrl().toLocalFile()));
|
||||
m_debugViewWidget->setDebugViewEnabled(isDebugViewEnabled());
|
||||
qDebug() << "enabled: " << isDebugViewEnabled();
|
||||
if (isDebugViewEnabled())
|
||||
qDebug() << tr("DebugView is enabled");
|
||||
AbstractView::modelAttached(model);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user