Skip to content

Commit

Permalink
Some fixes with 0.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
filcuc committed Jul 22, 2019
1 parent cd3afef commit 650cf0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/contactapp/contactlist.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/nimqml/private/dotherside.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 650cf0e

Please sign in to comment.