mirror of https://github.com/status-im/nimqml.git
Some fixes with 0.20.2
This commit is contained in:
parent
cd3afefd63
commit
650cf0e119
|
@ -37,7 +37,6 @@ QtObject:
|
|||
case contactRole:
|
||||
of ContactRoles.FirstName: result = newQVariant(contact.firstName)
|
||||
of ContactRoles.Surname: result = newQVariant(contact.surname)
|
||||
else: return
|
||||
|
||||
method roleNames(self: ContactList): Table[int, string] =
|
||||
{ ContactRoles.FirstName.int:"firstName",
|
||||
|
|
|
@ -20,9 +20,9 @@ type
|
|||
DosQVariant = distinct pointer
|
||||
DosQQmlContext = distinct pointer
|
||||
DosQQmlApplicationEngine = distinct pointer
|
||||
DosQVariantArray {.unchecked.} = array[0..0, DosQVariant]
|
||||
DosQVariantArray = UncheckedArray[DosQVariant]
|
||||
DosQMetaType = cint
|
||||
DosQMetaTypeArray {.unchecked.} = array[0..0, DosQMetaType]
|
||||
DosQMetaTypeArray = UncheckedArray[DosQMetaType]
|
||||
DosQUrl = distinct pointer
|
||||
DosQQuickView = distinct pointer
|
||||
DosQHashIntByteArray = distinct pointer
|
||||
|
|
Loading…
Reference in New Issue