Removed useless var in setup procs

This commit is contained in:
Filippo Cucchetto 2016-02-20 12:52:49 +01:00
parent 879bd240af
commit 13dc73432e
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
proc setup*(self: var QHashIntByteArray) =
proc setup*(self: QHashIntByteArray) =
## Setup the QHash
dos_qhash_int_qbytearray_create(self.vptr)

View File

@ -1,8 +1,8 @@
proc setup*(self: var QModelIndex) =
proc setup*(self: QModelIndex) =
## Setup a new QModelIndex
dos_qmodelindex_create(self.vptr)
proc setup(self: var QModelIndex, vptr: DosQModelIndex) =
proc setup(self: QModelIndex, vptr: DosQModelIndex) =
## Setup a new QModelIndex
self.vptr = vptr

View File

@ -1,4 +1,4 @@
proc setup*(self: var QQuickView) =
proc setup*(self: QQuickView) =
## Setup a new QQuickView
dos_qquickview_create(self.vptr)