forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/11.0'
Change-Id: I8be5a00000a6699346ed1c44c0711d1f017462a7
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user