Fix compilation with -trace
Fixes: QTBUG-97241 Pick-to: 6.2 Change-Id: I877c6f0792ad2281ccfc73b7549dad7d6bd68995 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
911c97f2b5
commit
d9f6fba385
@ -3906,7 +3906,7 @@ void doActivate(QObject *sender, int signal_index, void **argv)
|
||||
SlotObjectGuard obj{c->slotObj};
|
||||
|
||||
{
|
||||
Q_TRACE_SCOPE(QMetaObject_activate_slot_functor, obj.get());
|
||||
Q_TRACE_SCOPE(QMetaObject_activate_slot_functor, c->slotObj);
|
||||
obj->call(receiver, argv);
|
||||
}
|
||||
} else if (c->callFunction && c->method_offset <= receiver->metaObject()->methodOffset()) {
|
||||
|
Loading…
Reference in New Issue
Block a user