removed unused variable: typeName

This commit is contained in:
Will Szumski 2015-02-10 21:42:35 +00:00
parent d2fc0c3c00
commit 399adc747a

View File

@ -493,7 +493,6 @@ macro QtObject*(qtDecl: stmt): stmt {.immediate.} =
result.add it
if typ == nil:
error("you must declare an object that inherits from QObject")
let typeName = typ.getTypeName()
result.add genOnSlotCalled(typ, slots)