Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment