forked from qt-creator/qt-creator
		
	Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: I7c38825875c8db58813792dcb86b3a88945466f7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
		@@ -153,7 +153,7 @@ CppEditorSupport::CppEditorSupport(CppModelManager *modelManager, BaseTextEditor
 | 
			
		||||
    connect(m_textEditor->document(), SIGNAL(reloadFinished(bool)),
 | 
			
		||||
            this, SLOT(onReloadFinished()));
 | 
			
		||||
 | 
			
		||||
    connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor *)),
 | 
			
		||||
    connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)),
 | 
			
		||||
            this, SLOT(onCurrentEditorChanged()));
 | 
			
		||||
    m_editorGCTimer = new QTimer(this);
 | 
			
		||||
    m_editorGCTimer->setSingleShot(true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user