Temporary fix for a probable race condition on some systems.

Still needs to be resolved by determining the root cause.
Partially resolves bug report 760.
pull/2/head
Darrell Anderson 12 years ago
parent ad84562df0
commit 9e172fa7a1

@ -36,6 +36,9 @@ SystemDirNotify::SystemDirNotify()
void SystemDirNotify::init()
{
if( mInited )
// FIXME Work around a race condition by inserting kdDebug delay before following
// code is executed -- the root cause of the race should be investigated and fixed.
kdDebug() << "SystemDirNotify::init(" << mInited << ")" << endl;
return;
mInited = true;
KGlobal::dirs()->addResourceType("system_entries",

Loading…
Cancel
Save