break when no more widgets showing

This commit is contained in:
Dana Jansens 2003-01-22 23:11:30 +00:00
parent 70e2ab8017
commit 77882b46db

View file

@ -63,6 +63,8 @@ void Application::run(void)
while (_appwidget_count > 0) { while (_appwidget_count > 0) {
dispatchEvents(); dispatchEvents();
if (_appwidget_count <= 0)
break;
Timer::dispatchTimers(); // fire pending events Timer::dispatchTimers(); // fire pending events
} }
} }