summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salinst.cxx8
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