From 51f487c5be0224f722719cd2e7e39b4b66ca493a Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 6 Jul 2017 22:30:52 +0200 Subject: [PATCH] Normalize whitespace. Remove trailing whitespace and make sure each file ends with a newline. --- .gitignore | 2 +- examples/abstractitemmodel/main.nim.cfg | 2 +- examples/slotsandproperties/main.nim.cfg | 2 +- src/private/qmodelindex.nim | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) 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)