Merge remote-tracking branch 'origin/11.0'

Change-Id: I8be5a00000a6699346ed1c44c0711d1f017462a7
This commit is contained in:
Eike Ziller
2023-06-27 15:20:18 +02:00
20 changed files with 531 additions and 91 deletions

View File

@@ -296,9 +296,8 @@ void TestResultModel::addTestResult(const TestResult &testResult, bool autoExpan
if (parentItem) {
parentItem->appendChild(newItem);
if (autoExpand) {
parentItem->expand();
newItem->expand();
newItem->forAllChildren([](TreeItem *it) { it->expand(); });
QMetaObject::invokeMethod(this, [parentItem]{ parentItem->expand(); },
Qt::QueuedConnection);
}
updateParent(newItem);
} else {