Commit 97bda333 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.DebugView: only show status if enabled



Change-Id: Idd8738409965251767a5fbd26421acb32b54dd15
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 61dbd201
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment