summaryrefslogtreecommitdiff
path: root/src/plugins/nim
diff options
context:
space:
mode:
authorFilippo Cucchetto <filippocucchetto@gmail.com>2016-12-03 11:13:28 +0100
committerFilippo Cucchetto <filippocucchetto@gmail.com>2016-12-04 16:21:36 +0000
commitad771f9750901ded2933002e4363dcd9045f8178 (patch)
treeac2ed8b832043697f45ec7ddb03f0e3787ea1582 /src/plugins/nim
parente545f8a105fc0a26f5bfa27e0b9e887bc9e06b49 (diff)
downloadqt-creator-ad771f9750901ded2933002e4363dcd9045f8178.tar.gz
Nim: Removed unused FileSystemWatcher
Change-Id: I093b1536a10e5914fbfb14fc2e954c3f07907371 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r--src/plugins/nim/project/nimproject.cpp2
-rw-r--r--src/plugins/nim/project/nimproject.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/nim/project/nimproject.cpp b/src/plugins/nim/project/nimproject.cpp
index 794336f88d..3d967dce2f 100644
--- a/src/plugins/nim/project/nimproject.cpp
+++ b/src/plugins/nim/project/nimproject.cpp
@@ -69,8 +69,6 @@ NimProject::NimProject(NimProjectManager *projectManager, const QString &fileNam
connect(&m_futureWatcher, &QFutureWatcher<QList<FileNode *>>::finished, this, &NimProject::updateProject);
collectProjectFiles();
-
- connect(&m_fsWatcher, &QFileSystemWatcher::directoryChanged, this, &NimProject::scheduleProjectScan);
}
QString NimProject::displayName() const
diff --git a/src/plugins/nim/project/nimproject.h b/src/plugins/nim/project/nimproject.h
index 8e7f87f4b0..4c611af381 100644
--- a/src/plugins/nim/project/nimproject.h
+++ b/src/plugins/nim/project/nimproject.h
@@ -59,7 +59,6 @@ private:
void updateProject();
QStringList m_files;
- QFileSystemWatcher m_fsWatcher;
QFutureInterface<QList<ProjectExplorer::FileNode *>> m_futureInterface;
QFutureWatcher<QList<ProjectExplorer::FileNode *>> m_futureWatcher;