forked from qt-creator/qt-creator
QtSupport: Hide empty warning icon for qml debugging
Change-Id: Ic7c2981235946763417c2aed701f4da921cdbe90 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user