summaryrefslogtreecommitdiffstats
path: root/tdecore/ksimpledirwatch.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-27 19:34:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-27 20:34:56 +0900
commitbde06503d5d5a8d3dcd579f5f061135e4e47b678 (patch)
tree60d73b2554806bba80153f1922ac2d750a173cf8 /tdecore/ksimpledirwatch.cpp
parentafc67705bd9f090bfcdb0be85e3fc9a2d2d565f1 (diff)
downloadtdelibs-bde06503.tar.gz
tdelibs-bde06503.zip
Fixed second pass uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9468d05e3d2c56d4287ef464a31f21a689ad7e14)
Diffstat (limited to 'tdecore/ksimpledirwatch.cpp')
-rw-r--r--tdecore/ksimpledirwatch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/ksimpledirwatch.cpp b/tdecore/ksimpledirwatch.cpp
index 3861b52d2..cbb4ce682 100644
--- a/tdecore/ksimpledirwatch.cpp
+++ b/tdecore/ksimpledirwatch.cpp
@@ -1501,10 +1501,14 @@ void KSimpleDirWatchPrivate::checkFAMEvent(FAMEvent* fe)
removeEntry(0,e->path,sub_entry); // <e> can be invalid here!!
sub_entry->m_status = Normal;
if (!useFAM(sub_entry))
+ {
#ifdef HAVE_INOTIFY
if (!useINotify(sub_entry ))
#endif
+ {
useStat(sub_entry);
+ }
+ }
}
break;
}