mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-07 18:23:44 +00:00
Merge pull request #34 from Calrama/fixes
Signals may have no arguments
This commit is contained in:
commit
7328a1e24c
@ -382,7 +382,7 @@ void dos_qobject_slot_create(void* vptr, const char* name, int parametersCount,
|
||||
|
||||
void dos_qobject_signal_create(void* vptr, const char* name, int parametersCount, int* parametersMetaTypes, int* signalIndex)
|
||||
{
|
||||
if (parametersCount <= 0)
|
||||
if (parametersCount < 0)
|
||||
return;
|
||||
|
||||
auto qobject = reinterpret_cast<QObject*>(vptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user