forked from qt-creator/qt-creator
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user