Merge branch '1.3'
This commit is contained in:
@@ -193,6 +193,9 @@ QSize MultiSplitter::availableSize() const
|
||||
|
||||
void MultiSplitter::layoutEqually()
|
||||
{
|
||||
if (!checkSanity())
|
||||
return;
|
||||
|
||||
layoutEqually(m_rootItem);
|
||||
}
|
||||
|
||||
|
||||
@@ -2419,6 +2419,11 @@ void ItemBoxContainer::layoutEqually(SizingInfo::List &sizes)
|
||||
}
|
||||
if (lengthToGive == 0)
|
||||
return;
|
||||
|
||||
if (lengthToGive < 0) {
|
||||
qWarning() << Q_FUNC_INFO << "Breaking infinit loop";
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user