summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.cpp
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-01-19 23:23:43 +0100
committerhjk <qthjk@ovi.com>2012-01-25 19:23:11 +0100
commit21c0cdee40757ed7cc9f9e31e3d1e3a3238b6691 (patch)
tree897527a90463410894ec10f6236a5067cf1bb7f7 /src/plugins/cpptools/cpptoolsplugin.cpp
parent828139a7dbd6056ecd90fb98260bef5f5a106b89 (diff)
downloadqt-creator-21c0cdee40757ed7cc9f9e31e3d1e3a3238b6691.tar.gz
Core::Filemanager: make some methods static
This follows suit to the ICore changes. Change-Id: Iba2de1b1e3f2574fd1459892eae702e6af1cc7dc Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
-rw-r--r--src/plugins/cpptools/cpptoolsplugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.cpp b/src/plugins/cpptools/cpptoolsplugin.cpp
index 8adc6f9f1c..bfde1d2c84 100644
--- a/src/plugins/cpptools/cpptoolsplugin.cpp
+++ b/src/plugins/cpptools/cpptoolsplugin.cpp
@@ -110,10 +110,9 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error)
// Objects
m_modelManager = new CppModelManager(this);
Core::VcsManager *vcsManager = Core::ICore::vcsManager();
- Core::FileManager *fileManager = Core::ICore::fileManager();
connect(vcsManager, SIGNAL(repositoryChanged(QString)),
m_modelManager, SLOT(updateModifiedSourceFiles()));
- connect(fileManager, SIGNAL(filesChangedInternally(QStringList)),
+ connect(Core::FileManager::instance(), SIGNAL(filesChangedInternally(QStringList)),
m_modelManager, SLOT(updateSourceFiles(QStringList)));
addAutoReleasedObject(m_modelManager);