Merge pull request #11 from markus-oberhumer/misc-updates

Just some trivial changes.
This commit is contained in:
Filippo Cucchetto 2017-07-06 22:35:20 +02:00 committed by GitHub
commit 21e2b4e198
5 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -3,4 +3,4 @@
nimcache nimcache
*.nimproject* *.nimproject*
*.exe *.exe
*.qmlc *.qmlc

View File

@ -4,7 +4,7 @@ QML binding for the Nim programming language
## Requirements ## Requirements
* [DOtherside](https://github.com/filcuc/DOtherSide) 0.6.3 or higher * [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 ## Build instructions
* Compile and Install [DOtherside](https://github.com/filcuc/DOtherSide) in your system PATH (i.e. /usr/lib) * Compile and Install [DOtherside](https://github.com/filcuc/DOtherSide) in your system PATH (i.e. /usr/lib)

View File

@ -1 +1 @@
--path:"../../src" --path:"../../src"

View File

@ -1 +1 @@
--path:"../../src" --path:"../../src"

View File

@ -51,7 +51,7 @@ proc child*(self: QModelIndex, row: cint, column: cint): QModelIndex =
proc sibling*(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 ## Return the sibling index associated to the given row and column
newQModelIndex(dos_qmodelindex_sibling(self.vptr, row, column), Ownership.Take) newQModelIndex(dos_qmodelindex_sibling(self.vptr, row, column), Ownership.Take)
proc internalPointer(self: QModelIndex): pointer = proc internalPointer(self: QModelIndex): pointer =
## Return the internal pointer ## Return the internal pointer
dos_qmodelindex_internalPointer(self.vptr) dos_qmodelindex_internalPointer(self.vptr)