diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-11-19 18:51:29 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-11-19 18:52:51 -0300 |
commit | ca0e17a45ed333c6b88f17df554757644d8041a4 (patch) | |
tree | 4576c2b9a78a6a43f9ed2796dffff6e5260f0ece /libpyside | |
parent | c9aef92cab51623aba0211c5805c88386c638e0a (diff) |
Fix typo on function call template type.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'libpyside')
-rw-r--r-- | libpyside/pyside.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libpyside/pyside.cpp b/libpyside/pyside.cpp index 803f41d08..63889a047 100644 --- a/libpyside/pyside.cpp +++ b/libpyside/pyside.cpp @@ -116,9 +116,8 @@ void destroyQCoreApplication() foreach (SbkObject* pyObj, bm.getAllPyObjects()) { if (pyObj != pyQApp && PyObject_TypeCheck(pyObj, pyQObjectType)) { - if (Shiboken::Wrapper::hasOwnership(pyObj)) { - Shiboken::callCppDestructor<QObject*>(Shiboken::Wrapper::cppPointer(pyObj, Shiboken::SbkType<QObject*>())); - } + if (Shiboken::Wrapper::hasOwnership(pyObj)) + Shiboken::callCppDestructor<QObject>(Shiboken::Wrapper::cppPointer(pyObj, Shiboken::SbkType<QObject*>())); } } delete app; |