1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-28 23:52:55 +08:00

Fix a minor issue in checking QVariant validity

This commit is contained in:
Thomas Perl 2013-08-08 10:36:30 +02:00
parent 8519b9a5df
commit 17dc9b86be

View File

@ -167,7 +167,7 @@ QPythonPriv::formatExc()
return "Exception";
}
QVariant v = convertPyObjectToQVariant(s);
Q_ASSERT(v != NULL);
Q_ASSERT(v.isValid());
Py_DECREF(s);
Py_DECREF(n);
Py_DECREF(list);