##// END OF EJS Templates
fixed QVariant return value for ULongLong and LongLong...
florianlink -
r102:c1378e70f084
parent child
Show More
@@ -917,6 +917,18 QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type)
917 if (ok) v = qVariantFromValue(d);
917 if (ok) v = qVariantFromValue(d);
918 break;
918 break;
919 }
919 }
920 case QMetaType::LongLong:
921 {
922 qint64 d = PyObjGetLongLong(val, false, ok);
923 if (ok) v = qVariantFromValue(d);
924 }
925 break;
926 case QMetaType::ULongLong:
927 {
928 quint64 d = PyObjGetULongLong(val, false, ok);
929 if (ok) v = qVariantFromValue(d);
930 }
931 break;
920 case QMetaType::Short:
932 case QMetaType::Short:
921 {
933 {
922 short d = (short) PyObjGetInt(val,false,ok);
934 short d = (short) PyObjGetInt(val,false,ok);
General Comments 0
You need to be logged in to leave comments. Login now