forked from qt-creator/qt-creator
		
	use Core::Id for IEditorFactory::id
Change-Id: Iefd67a0461d9016b8ba0f3371df7ec6d42e188c5 Reviewed-on: http://codereview.qt-project.org/4321 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
		@@ -315,7 +315,7 @@ void CppFileSettingsWidget::slotEdit()
 | 
			
		||||
        setLicenseTemplatePath(path);
 | 
			
		||||
    }
 | 
			
		||||
    // Edit (now) existing file with C++
 | 
			
		||||
    Core::EditorManager::instance()->openEditor(path, QLatin1String(CppEditor::Constants::CPPEDITOR_ID),
 | 
			
		||||
    Core::EditorManager::instance()->openEditor(path, CppEditor::Constants::CPPEDITOR_ID,
 | 
			
		||||
                                                Core::EditorManager::ModeSwitch);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user