Utils: Silence soft assert

Change-Id: I8c21588e203b2446320009b77161b3951ba790f9
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2023-06-28 08:29:54 +02:00
parent 6ed6946d2a
commit 49dc14995a

View File

@@ -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 {