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/README.md b/README.md index 1a94941..370e358 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ QML binding for the Nim programming language ## Requirements * [DOtherside](https://github.com/filcuc/DOtherSide) 0.6.3 or higher -* [Nim](http://nim-lang.org/) 0.15.0 or higher +* [Nim](http://nim-lang.org/) 0.17.0 or higher ## Build instructions * Compile and Install [DOtherside](https://github.com/filcuc/DOtherSide) in your system PATH (i.e. /usr/lib) 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)