From fd8b33616fe6a1c5ceaa0b227843d65f2d1eeae6 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 31 Jan 2011 15:46:23 -0200 Subject: Fix bug 656 - "cannot inherit from QCoreApplication" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewer: Renato Araújo Luciano Wolf --- PySide/QtCore/glue/qcoreapplication_init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PySide/QtCore') diff --git a/PySide/QtCore/glue/qcoreapplication_init.cpp b/PySide/QtCore/glue/qcoreapplication_init.cpp index 0c0e1f8fe..15e3e1118 100644 --- a/PySide/QtCore/glue/qcoreapplication_init.cpp +++ b/PySide/QtCore/glue/qcoreapplication_init.cpp @@ -4,7 +4,7 @@ static char** QCoreApplicationArgValues; int Sbk_QCoreApplication_Init(PyObject* self, PyObject* args, PyObject*) { - if (Shiboken::Object::isUserType(self) && !Shiboken::ObjectType::canCallConstructor(self->ob_type, Shiboken::SbkType())) + if (Shiboken::Object::isUserType(self) && !Shiboken::ObjectType::canCallConstructor(self->ob_type, Shiboken::SbkType())) return -1; -- cgit v1.2.3