QtSupport: Hide empty warning icon for qml debugging

Change-Id: Ic7c2981235946763417c2aed701f4da921cdbe90
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2021-06-30 17:03:21 +02:00
parent fbb804c442
commit c347534b42

View File

@@ -54,6 +54,7 @@ void QmlDebuggingAspect::addToLayout(LayoutBuilder &builder)
SelectionAspect::addToLayout(builder);
const auto warningLabel = createSubWidget<InfoLabel>(QString(), InfoLabel::Warning);
warningLabel->setElideMode(Qt::ElideNone);
warningLabel->setVisible(false);
builder.addRow({{}, warningLabel});
const auto changeHandler = [this, warningLabel] {
QString warningText;