diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2014-12-03 10:16:28 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2014-12-09 12:35:06 +0000 |
commit | 51b025922ac8387dd749cb359e5188e74ede2213 (patch) | |
tree | 86429e292ab7dd4fd5366fd0339e43fcd4f563dc /vcl/osx | |
parent | 9c9700ea88757aa36fa749fdefd08c5d5c71314f (diff) |
changed inherited timers to idle
Change-Id: I1d70d4d2fe8573d0f120f2a1ece83f504d5efde5
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 1471a01b424b..99798425502b 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -69,7 +69,7 @@ static NSMenu* pDockMenu = nil; static bool bNoSVMain = true; static bool bLeftMain = false; -class AquaDelayedSettingsChanged : public Timer +class AquaDelayedSettingsChanged : public Idle { bool mbInvalidate; public: @@ -101,9 +101,9 @@ class AquaDelayedSettingsChanged : public Timer void AquaSalInstance::delayedSettingsChanged( bool bInvalidate ) { osl::Guard< comphelper::SolarMutex > aGuard( *mpSalYieldMutex ); - AquaDelayedSettingsChanged* pTimer = new AquaDelayedSettingsChanged( bInvalidate ); - pTimer->SetTimeout( 50 ); - pTimer->Start(); + AquaDelayedSettingsChanged* pIdle = new AquaDelayedSettingsChanged( bInvalidate ); + pIdle->SetPriority( VCL_IDLE_PRIORITY_MEDIUM ); + pIdle->Start(); } // the AppEventList must be available before any SalData/SalInst/etc. objects are ready |