Fix typo on function call template type.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
parent
c9aef92cab
commit
ca0e17a45e
1 changed files with 2 additions and 3 deletions
|
|
@ -116,9 +116,8 @@ void destroyQCoreApplication()
|
||||||
|
|
||||||
foreach (SbkObject* pyObj, bm.getAllPyObjects()) {
|
foreach (SbkObject* pyObj, bm.getAllPyObjects()) {
|
||||||
if (pyObj != pyQApp && PyObject_TypeCheck(pyObj, pyQObjectType)) {
|
if (pyObj != pyQApp && PyObject_TypeCheck(pyObj, pyQObjectType)) {
|
||||||
if (Shiboken::Wrapper::hasOwnership(pyObj)) {
|
if (Shiboken::Wrapper::hasOwnership(pyObj))
|
||||||
Shiboken::callCppDestructor<QObject*>(Shiboken::Wrapper::cppPointer(pyObj, Shiboken::SbkType<QObject*>()));
|
Shiboken::callCppDestructor<QObject>(Shiboken::Wrapper::cppPointer(pyObj, Shiboken::SbkType<QObject*>()));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete app;
|
delete app;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue