Updated custom converter for QBool to use ValueTypeConverter instead of ConverterBase.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
This commit is contained in:
parent
a13b5b0145
commit
0d9b1dca7f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
namespace Shiboken {
|
namespace Shiboken {
|
||||||
template <>
|
template <>
|
||||||
struct Converter<QBool> : public ConverterBase<QBool>
|
struct Converter<QBool> : public ValueTypeConverter<QBool>
|
||||||
{
|
{
|
||||||
using ConverterBase<QBool>::toPython;
|
using ValueTypeConverter<QBool>::toPython;
|
||||||
|
|
||||||
static PyObject* toPython(const QBool& cppobj)
|
static PyObject* toPython(const QBool& cppobj)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue