Commit 1d9dd67f authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

Clang: Do not re-add files after QFileSystemWatcher::fileChanged()

It is pointless and will generate error messages like

    clangbackend.stderr: QInotifyFileSystemWatcherEngine::addPaths:
        inotify_add_watch failed: No such file or directory

for renamed or removed files.

Change-Id: I3ea14cc5f38526960d52ae7b41a270ef620a929c
Reviewed-by: default avatarMarco Bubke <>
parent 972731d4
......@@ -69,7 +69,6 @@ void ClangFileSystemWatcher::addFiles(const QSet<Utf8String> &filePaths)
void ClangFileSystemWatcher::updateTranslationUnitsWithChangedDependencies(const QString &filePath)
emit fileChanged();
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