diff options
Diffstat (limited to 'src/plugins/texteditor/findincurrentfile.cpp')
-rw-r--r-- | src/plugins/texteditor/findincurrentfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/findincurrentfile.cpp b/src/plugins/texteditor/findincurrentfile.cpp index 8e399ab43f..de031d96ca 100644 --- a/src/plugins/texteditor/findincurrentfile.cpp +++ b/src/plugins/texteditor/findincurrentfile.cpp @@ -45,9 +45,9 @@ using namespace TextEditor::Internal; FindInCurrentFile::FindInCurrentFile() : m_currentFile(0) { - connect(Core::ICore::instance()->editorManager(), SIGNAL(currentEditorChanged(Core::IEditor*)), + connect(Core::ICore::editorManager(), SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(handleFileChange(Core::IEditor*))); - handleFileChange(Core::ICore::instance()->editorManager()->currentEditor()); + handleFileChange(Core::ICore::editorManager()->currentEditor()); } QString FindInCurrentFile::id() const |