forked from qt-creator/qt-creator
EditorManager: Use static pattern, adjust surrounding code
Change-Id: I3255a0150cd9a730336456c5a9f986eb74fefbff Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -60,8 +60,7 @@ static const quint8 RESET = 5;
|
||||
FindMacroHandler::FindMacroHandler():
|
||||
IMacroHandler()
|
||||
{
|
||||
const Core::EditorManager *editorManager = Core::EditorManager::instance();
|
||||
connect(editorManager, SIGNAL(currentEditorChanged(Core::IEditor*)),
|
||||
connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)),
|
||||
this, SLOT(changeEditor(Core::IEditor*)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user