Adapt to changes in libshiboken
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
This commit is contained in:
parent
718dd06ecd
commit
5bd8147956
5 changed files with 14 additions and 8 deletions
|
|
@ -82,7 +82,7 @@ inline QVariant Converter<QVariant>::toCpp(PyObject* pyobj)
|
|||
}
|
||||
} else {
|
||||
// Is a known Qt type
|
||||
return QVariant(typeCode, reinterpret_cast<SbkBaseWrapper*>(pyobj)->cptr);
|
||||
return QVariant(typeCode, reinterpret_cast<SbkBaseWrapper*>(pyobj)->cptr[0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue