Kaydet (Commit) 51b02592 authored tarafından Tobias Madl's avatar Tobias Madl

changed inherited timers to idle

Change-Id: I1d70d4d2fe8573d0f120f2a1ece83f504d5efde5
üst 9c9700ea
......@@ -802,7 +802,7 @@ void IdleFormattter::ForceTimeout()
if ( IsActive() )
{
Stop();
((Link&)GetTimeoutHdl()).Call( this );
((Link&)GetIdleHdl()).Call( this );
}
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment