mirror of https://github.com/status-im/nimqml.git
Removed useless var in setup procs
This commit is contained in:
parent
879bd240af
commit
13dc73432e
|
@ -1,4 +1,4 @@
|
||||||
proc setup*(self: var QHashIntByteArray) =
|
proc setup*(self: QHashIntByteArray) =
|
||||||
## Setup the QHash
|
## Setup the QHash
|
||||||
dos_qhash_int_qbytearray_create(self.vptr)
|
dos_qhash_int_qbytearray_create(self.vptr)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
proc setup*(self: var QModelIndex) =
|
proc setup*(self: QModelIndex) =
|
||||||
## Setup a new QModelIndex
|
## Setup a new QModelIndex
|
||||||
dos_qmodelindex_create(self.vptr)
|
dos_qmodelindex_create(self.vptr)
|
||||||
|
|
||||||
proc setup(self: var QModelIndex, vptr: DosQModelIndex) =
|
proc setup(self: QModelIndex, vptr: DosQModelIndex) =
|
||||||
## Setup a new QModelIndex
|
## Setup a new QModelIndex
|
||||||
self.vptr = vptr
|
self.vptr = vptr
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
proc setup*(self: var QQuickView) =
|
proc setup*(self: QQuickView) =
|
||||||
## Setup a new QQuickView
|
## Setup a new QQuickView
|
||||||
dos_qquickview_create(self.vptr)
|
dos_qquickview_create(self.vptr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue