Commit 67402b35 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.ItemLibrary: do not show warnings by default



Change-Id: I7e470359f290346fcab3453c7b17f44866db7679
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 97bda333
......@@ -51,6 +51,10 @@
#include <QQuickItem>
enum {
debug = false
};
namespace QmlDesigner {
ItemLibraryWidget::ItemLibraryWidget(QWidget *parent) :
......@@ -68,6 +72,7 @@ ItemLibraryWidget::ItemLibraryWidget(QWidget *parent) :
/* create Items view and its model */
m_itemsView->setResizeMode(QQuickView::SizeRootObjectToView);
m_itemsView->engine()->setOutputWarningsToStandardError(debug);
m_itemLibraryModel = new Internal::ItemLibraryModel(this);
m_itemLibraryModel->setItemIconSize(m_itemIconSize);
......
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