forked from qt-creator/qt-creator
Clang: Fix updating dependencies
...if the registered document comes with unsaved content. This can easily happen if the document is opened and modified by a refactoring action. Task-number: QTCREATORBUG-17295 Change-Id: I3a95fb495b6122248ceaa80985e838851ba2c0e5 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -364,6 +364,11 @@ const QSet<Utf8String> Document::dependedFilePaths() const
|
||||
return d->dependedFilePaths;
|
||||
}
|
||||
|
||||
void Document::setDependedFilePaths(const QSet<Utf8String> &filePaths)
|
||||
{
|
||||
d->dependedFilePaths = filePaths;
|
||||
}
|
||||
|
||||
void Document::setDirty()
|
||||
{
|
||||
d->needsToBeReparsedChangeTimePoint = Clock::now();
|
||||
|
||||
Reference in New Issue
Block a user