summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-09-09 15:20:32 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-09-09 17:23:19 -0300
commit57dbef16c667e9ea5b687f3891967995af5318a7 (patch)
tree1d4702b554239baa1809f6f7246194121e6e3d3a
parent8b159a145da0adb4236d4072eeaf79a4c2def6c9 (diff)
downloadpyside-57dbef16c667e9ea5b687f3891967995af5318a7.tar.gz
pyside-57dbef16c667e9ea5b687f3891967995af5318a7.tar.xz
pyside-57dbef16c667e9ea5b687f3891967995af5318a7.zip
Fixed QWidget.window() return policy.
Fixes bug #1002 Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index e772cd9..9d6898b 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -4217,6 +4217,12 @@
This value may change at run-time. An event with type PySide.QtCore.QEvent.WinIdChange will be sent to the widget following a change in window system identifier.
</inject-documentation>
</modify-function>
+
+ <modify-function signature="window()const">
+ <modify-argument index="return">
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
+ </modify-function>
</object-type>
<object-type name="QMessageBox">
<enum-type name="ButtonRole"/>