forked from qt-creator/qt-creator
Fixed QTCREATORBUG-1397.
When adding a new file, refreshing semantic errors in the open editor should have worked. It now also works for removing existing files. Done-with: Christian Kamm
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
virtual void updateSourceFiles(const QStringList &files,
|
||||
bool emitDocumentOnDiskChanged);
|
||||
virtual void fileChangedOnDisk(const QString &path);
|
||||
virtual void removeFiles(const QStringList &files);
|
||||
|
||||
void emitDocumentUpdated(QmlJS::Document::Ptr doc);
|
||||
void emitLibraryInfoUpdated(const QString &path, const QmlJS::LibraryInfo &info);
|
||||
@@ -69,7 +70,6 @@ Q_SIGNALS:
|
||||
void projectPathChanged(const QString &projectPath);
|
||||
void libraryInfoUpdated(const QString &path, const QmlJS::LibraryInfo &info);
|
||||
|
||||
|
||||
private Q_SLOTS:
|
||||
// this should be executed in the GUI thread.
|
||||
void onDocumentUpdated(QmlJS::Document::Ptr doc);
|
||||
|
||||
Reference in New Issue
Block a user