forked from qt-creator/qt-creator
Utils: Silence soft assert
Change-Id: I8c21588e203b2446320009b77161b3951ba790f9 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -305,6 +305,8 @@ static void addItemToFlowLayout(FlowLayout *layout, const ResultItem &item)
|
||||
// layout->addStretch(item.stretch);
|
||||
// } else if (item.space != -1) {
|
||||
// layout->addSpacing(item.space);
|
||||
} else if (item.empty) {
|
||||
// Nothing to do, but no reason to warn, either
|
||||
} else if (!item.text.isEmpty()) {
|
||||
layout->addWidget(createLabel(item.text));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user