From c347534b4222fdb26b58de0b7043463afc6f522e Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Wed, 30 Jun 2021 17:03:21 +0200 Subject: [PATCH] QtSupport: Hide empty warning icon for qml debugging Change-Id: Ic7c2981235946763417c2aed701f4da921cdbe90 Reviewed-by: Alessandro Portale --- src/plugins/qtsupport/qtbuildaspects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qtsupport/qtbuildaspects.cpp b/src/plugins/qtsupport/qtbuildaspects.cpp index 2afc339b60b..90196ff01df 100644 --- a/src/plugins/qtsupport/qtbuildaspects.cpp +++ b/src/plugins/qtsupport/qtbuildaspects.cpp @@ -54,6 +54,7 @@ void QmlDebuggingAspect::addToLayout(LayoutBuilder &builder) SelectionAspect::addToLayout(builder); const auto warningLabel = createSubWidget(QString(), InfoLabel::Warning); warningLabel->setElideMode(Qt::ElideNone); + warningLabel->setVisible(false); builder.addRow({{}, warningLabel}); const auto changeHandler = [this, warningLabel] { QString warningText;