|
|
@ -35,11 +35,12 @@ SystemDirNotify::SystemDirNotify()
|
|
|
|
|
|
|
|
|
|
|
|
void SystemDirNotify::init()
|
|
|
|
void SystemDirNotify::init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if( mInited )
|
|
|
|
if( mInited ) {
|
|
|
|
// FIXME Work around a probable race condition by inserting printf delay before following
|
|
|
|
// FIXME Work around a probable race condition by inserting printf delay before following
|
|
|
|
// code is executed -- the root cause of the race needs investigation and resolution.
|
|
|
|
// code is executed -- the root cause of the race needs investigation and resolution.
|
|
|
|
printf("[systemdirnotify] SystemDirNotify::init(mInited)");
|
|
|
|
printf("[systemdirnotify] SystemDirNotify::init(mInited)");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
mInited = true;
|
|
|
|
mInited = true;
|
|
|
|
TDEGlobal::dirs()->addResourceType("system_entries",
|
|
|
|
TDEGlobal::dirs()->addResourceType("system_entries",
|
|
|
|
TDEStandardDirs::kde_default("data") + "systemview");
|
|
|
|
TDEStandardDirs::kde_default("data") + "systemview");
|
|
|
|