renderer: improved code flow
This commit is contained in:
@@ -88,6 +88,13 @@ bool RenderTicketWatcher::HasResult()
|
||||
}
|
||||
}
|
||||
|
||||
void RenderTicketWatcher::Cancel()
|
||||
{
|
||||
if (ticket_) {
|
||||
ticket_->Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
void RenderTicketWatcher::TicketFinished()
|
||||
{
|
||||
emit Finished(this);
|
||||
|
||||
Reference in New Issue
Block a user