break when no more widgets showing
This commit is contained in:
parent
70e2ab8017
commit
77882b46db
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ void Application::run(void)
|
|||
|
||||
while (_appwidget_count > 0) {
|
||||
dispatchEvents();
|
||||
if (_appwidget_count <= 0)
|
||||
break;
|
||||
Timer::dispatchTimers(); // fire pending events
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue