Fixed Missing reset to nil ini QModelIndex

This commit is contained in:
Filippo Cucchetto 2016-02-20 12:49:26 +01:00
parent 2126599d21
commit 60c62c6a3f
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ proc delete*(self: QHashIntByteArray) =
return return
debugMsg("QHashIntByteArray", "delete") debugMsg("QHashIntByteArray", "delete")
dos_qhash_int_qbytearray_delete(self.vptr) dos_qhash_int_qbytearray_delete(self.vptr)
self.vptr.resetToNil
proc newQHashIntQByteArray*(): QHashIntByteArray = proc newQHashIntQByteArray*(): QHashIntByteArray =
## Create a new QHashIntQByteArray ## Create a new QHashIntQByteArray