using postEvent instead of sendEvent
This commit is contained in:
parent
e8f155c482
commit
72b1fb48c9
@ -301,8 +301,8 @@ bool QskHintAnimatorTable::cleanup()
|
|||||||
{
|
{
|
||||||
if ( qskCheckReceiverThread( control ) )
|
if ( qskCheckReceiverThread( control ) )
|
||||||
{
|
{
|
||||||
QskAnimatorEvent event( aspect, QskAnimatorEvent::Terminated );
|
auto event = new QskAnimatorEvent( aspect, QskAnimatorEvent::Terminated );
|
||||||
QCoreApplication::sendEvent( control, &event );
|
QCoreApplication::postEvent( control, event );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user