forked from qt-creator/qt-creator
Nim: Removed unused FileSystemWatcher
Change-Id: I093b1536a10e5914fbfb14fc2e954c3f07907371 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -69,8 +69,6 @@ NimProject::NimProject(NimProjectManager *projectManager, const QString &fileNam
|
|||||||
connect(&m_futureWatcher, &QFutureWatcher<QList<FileNode *>>::finished, this, &NimProject::updateProject);
|
connect(&m_futureWatcher, &QFutureWatcher<QList<FileNode *>>::finished, this, &NimProject::updateProject);
|
||||||
|
|
||||||
collectProjectFiles();
|
collectProjectFiles();
|
||||||
|
|
||||||
connect(&m_fsWatcher, &QFileSystemWatcher::directoryChanged, this, &NimProject::scheduleProjectScan);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString NimProject::displayName() const
|
QString NimProject::displayName() const
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ private:
|
|||||||
void updateProject();
|
void updateProject();
|
||||||
|
|
||||||
QStringList m_files;
|
QStringList m_files;
|
||||||
QFileSystemWatcher m_fsWatcher;
|
|
||||||
QFutureInterface<QList<ProjectExplorer::FileNode *>> m_futureInterface;
|
QFutureInterface<QList<ProjectExplorer::FileNode *>> m_futureInterface;
|
||||||
QFutureWatcher<QList<ProjectExplorer::FileNode *>> m_futureWatcher;
|
QFutureWatcher<QList<ProjectExplorer::FileNode *>> m_futureWatcher;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user