diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-22 17:28:43 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-22 19:16:51 -0200 |
commit | 77a1654ad587241d3c14bafa2c0deae53e1599ee (patch) | |
tree | 1b2dece9fe99a5a956420e03229d0872916a9a05 /libpyside/pyside.h | |
parent | 800fb4613cb61dbff33750ec0ab4b18ca3369c6c (diff) |
Fix bugs 430, 426, 429, 394, 433.
These bugs are about QApplication instance being destroyed before
some QObject.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'libpyside/pyside.h')
-rw-r--r-- | libpyside/pyside.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpyside/pyside.h b/libpyside/pyside.h index 2c5afb536..fe9ce3a6e 100644 --- a/libpyside/pyside.h +++ b/libpyside/pyside.h @@ -84,6 +84,11 @@ typedef void (*CleanupFunction)(void); PYSIDE_API void registerCleanupFunction(CleanupFunction func); PYSIDE_API void runCleanupFunctions(); +/** + * Destroy a QCoreApplication taking care of destroy all instances of QObject first. + */ +PYSIDE_API void destroyQCoreApplication(); + } //namespace PySide |