summaryrefslogtreecommitdiffstats
path: root/tdeioslave/system
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2013-07-29 12:47:35 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-07-29 12:47:35 -0500
commitbac7ea9a27aaad28239f646caeae77747d987776 (patch)
treee905360082692bb26f2629486c6c63813d915eef /tdeioslave/system
parent0ba43923ad7ed15d4f1cc51d02b9e890180b1311 (diff)
downloadtdebase-bac7ea9a27aaad28239f646caeae77747d987776.tar.gz
tdebase-bac7ea9a27aaad28239f646caeae77747d987776.zip
Add missing braces from commit d41f5217, 2012-05-15.
Diffstat (limited to 'tdeioslave/system')
-rw-r--r--tdeioslave/system/kdedmodule/systemdirnotify.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeioslave/system/kdedmodule/systemdirnotify.cpp b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
index e61a69f28..7d7d615b3 100644
--- a/tdeioslave/system/kdedmodule/systemdirnotify.cpp
+++ b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
@@ -35,11 +35,12 @@ SystemDirNotify::SystemDirNotify()
void SystemDirNotify::init()
{
- if( mInited )
+ if( mInited ) {
// 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.
printf("[systemdirnotify] SystemDirNotify::init(mInited)");
return;
+ }
mInited = true;
TDEGlobal::dirs()->addResourceType("system_entries",
TDEStandardDirs::kde_default("data") + "systemview");