diff options
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtGui/glue/qlayout_help_functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/glue/qlayout_help_functions.h b/PySide/QtGui/glue/qlayout_help_functions.h index 3361e618a..bb3c3f8c9 100644 --- a/PySide/QtGui/glue/qlayout_help_functions.h +++ b/PySide/QtGui/glue/qlayout_help_functions.h @@ -39,7 +39,7 @@ inline void addLayoutOwnership(QLayout* layout, QLayout* other) } for (int i=0, i_max=other->count(); i < i_max; i++) { - QLayoutItem* item = layout->itemAt(i); + QLayoutItem* item = other->itemAt(i); if (PyErr_Occurred()) return; |