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);
|
SelectionAspect::addToLayout(builder);
|
||||||
const auto warningLabel = createSubWidget<InfoLabel>(QString(), InfoLabel::Warning);
|
const auto warningLabel = createSubWidget<InfoLabel>(QString(), InfoLabel::Warning);
|
||||||
warningLabel->setElideMode(Qt::ElideNone);
|
warningLabel->setElideMode(Qt::ElideNone);
|
||||||
|
warningLabel->setVisible(false);
|
||||||
builder.addRow({{}, warningLabel});
|
builder.addRow({{}, warningLabel});
|
||||||
const auto changeHandler = [this, warningLabel] {
|
const auto changeHandler = [this, warningLabel] {
|
||||||
QString warningText;
|
QString warningText;
|
||||||
|
|||||||
Reference in New Issue
Block a user