diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-13 09:14:46 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:05 +0000 |
commit | a74efa665c8199899cd778900de686e2b8710fee (patch) | |
tree | 9cebc63e08b9569d8da029f05799d1b3a70cf6b5 /vcl/source/app/svapp.cxx | |
parent | e6e8a060ecc6e4fd51cfe88e00d841d546ed5915 (diff) |
Idle: Better place for Idle handling
Change-Id: I2e5462544d83572e8206bb1db92a2b9df032281b
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r-- | vcl/source/app/svapp.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 8b96650c0628..3fd670202e5a 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -346,9 +346,11 @@ inline void ImplYield( bool i_bWait, bool i_bAllEvents ) { while ( pSVData->mbNotAllTimerCalled ) Timer::ImplTimerCallbackProc(); - Timer::Timer::ProcessAllIdleHandlers(); } + //Process all idles + Timer::Timer::ProcessAllIdleHandlers(); + pSVData->maAppData.mnDispatchLevel++; // do not wait for events if application was already quit; in that // case only dispatch events already available |