diff --git a/.gitignore b/.gitignore index 9d44045..5e562d8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ nimcache *.nimproject* *.exe -*.qmlc \ No newline at end of file +*.qmlc diff --git a/examples/abstractitemmodel/main.nim.cfg b/examples/abstractitemmodel/main.nim.cfg index cf9b2a2..11736fc 100644 --- a/examples/abstractitemmodel/main.nim.cfg +++ b/examples/abstractitemmodel/main.nim.cfg @@ -1 +1 @@ ---path:"../../src" \ No newline at end of file +--path:"../../src" diff --git a/examples/slotsandproperties/main.nim.cfg b/examples/slotsandproperties/main.nim.cfg index cf9b2a2..11736fc 100644 --- a/examples/slotsandproperties/main.nim.cfg +++ b/examples/slotsandproperties/main.nim.cfg @@ -1 +1 @@ ---path:"../../src" \ No newline at end of file +--path:"../../src" diff --git a/src/private/qmodelindex.nim b/src/private/qmodelindex.nim index f3c9f6b..3630060 100644 --- a/src/private/qmodelindex.nim +++ b/src/private/qmodelindex.nim @@ -51,7 +51,7 @@ proc child*(self: QModelIndex, row: cint, column: cint): QModelIndex = proc sibling*(self: QModelIndex, row: cint, column: cint): QModelIndex = ## Return the sibling index associated to the given row and column newQModelIndex(dos_qmodelindex_sibling(self.vptr, row, column), Ownership.Take) - -proc internalPointer(self: QModelIndex): pointer = + +proc internalPointer(self: QModelIndex): pointer = ## Return the internal pointer dos_qmodelindex_internalPointer(self.vptr)