Some fixes with 0.20.2

This commit is contained in:
Filippo Cucchetto 2019-07-22 08:01:50 +02:00
parent cd3afefd63
commit 650cf0e119
2 changed files with 2 additions and 3 deletions

View File

@ -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",

View File

@ -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