diff options
Diffstat (limited to 'src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp')
-rw-r--r-- | src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp index 63702d918f..266ba57241 100644 --- a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp +++ b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp @@ -108,7 +108,7 @@ public: if (!refactoring.createFile(newFileName, txt)) return; - Core::IVersionControl *versionControl = Core::ICore::vcsManager()->findVersionControlForDirectory(path); + Core::IVersionControl *versionControl = Core::VcsManager::findVersionControlForDirectory(path); if (versionControl && versionControl->supportsOperation(Core::IVersionControl::AddOperation)) { const QMessageBox::StandardButton button = |