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:
parent
8519b9a5df
commit
17dc9b86be
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user