Fixed layout policy.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
499d42a6f4
commit
09cb758d9e
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ inline void addLayoutOwnership(QLayout *layout, QLayout *other)
|
||||||
if (!parent)
|
if (!parent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (int i=0, i_max=layout->count(); i < i_max; i++) {
|
for (int i=0, i_max=other->count(); i < i_max; i++) {
|
||||||
addLayoutOwnership(layout, layout->itemAt(i));
|
addLayoutOwnership(layout, other->itemAt(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
Shiboken::AutoDecRef pyParent(Shiboken::Converter<QLayout*>::toPython(layout));
|
Shiboken::AutoDecRef pyParent(Shiboken::Converter<QLayout*>::toPython(layout));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue