forked from qt-creator/qt-creator
Revert "Core: Reinitialize change notification after saving"
This reverts commit 540f5677e8
.
For some reason the change broke reparsing of .pro files after
they are edited.
Change-Id: I61560d3d7a3ccd8aac72c80b37421ed924f2323c
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -243,9 +243,8 @@ static void addFileInfo(const QString &fileName, IDocument *document, bool isLin
|
||||
watcher = d->linkWatcher();
|
||||
else
|
||||
watcher = d->fileWatcher();
|
||||
if (watcher->files().contains(fileName))
|
||||
watcher->removePath(fileName);
|
||||
watcher->addPath(fileName);
|
||||
if (!watcher->files().contains(fileName))
|
||||
watcher->addPath(fileName);
|
||||
|
||||
d->m_states[fileName].lastUpdatedState.insert(document, state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user