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