mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-07 18:23:44 +00:00
Added missing export of the delete proc
This commit is contained in:
parent
f878966cbb
commit
412bb14eb2
@ -6,7 +6,7 @@ QtObject:
|
||||
type Contact* = ref object of QObject
|
||||
m_name: string
|
||||
|
||||
proc delete(self: Contact) =
|
||||
proc delete*(self: Contact) =
|
||||
var qobject = self.QObject
|
||||
qobject.delete()
|
||||
|
||||
|
@ -5,11 +5,11 @@ import NimQml
|
||||
type Contact = ref object of QObject
|
||||
m_name: string
|
||||
|
||||
proc delete(self: Contact) =
|
||||
proc delete*(self: Contact) =
|
||||
var qobject = self.QObject
|
||||
qobject.delete()
|
||||
|
||||
proc create(self: Contact) =
|
||||
proc create*(self: Contact) =
|
||||
var qobject = self.QObject
|
||||
qobject.create()
|
||||
self.m_name = "InitialName"
|
||||
|
Loading…
x
Reference in New Issue
Block a user