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:
Thiago Macieira
2014-02-02 14:14:00 -08:00
parent 10f0044031
commit f1606a9f58
5 changed files with 12 additions and 12 deletions

View File

@@ -1833,8 +1833,8 @@ CppCodeModelInspectorDialog::CppCodeModelInspectorDialog(QWidget *parent)
m_workingCopyView->setModel(m_proxyWorkingCopyModel);
connect(m_snapshotView->selectionModel(),
SIGNAL(currentRowChanged(QModelIndex ,QModelIndex)),
SLOT(onDocumentSelected(QModelIndex, QModelIndex)));
SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),
SLOT(onDocumentSelected(QModelIndex,QModelIndex)));
connect(m_snapshotView, SIGNAL(filterChanged(QString)),
SLOT(onSnapshotFilterChanged(QString)));
connect(m_ui->snapshotSelector, SIGNAL(currentIndexChanged(int)),
@@ -1845,14 +1845,14 @@ CppCodeModelInspectorDialog::CppCodeModelInspectorDialog(QWidget *parent)
SLOT(onSymbolsViewExpandedOrCollapsed(QModelIndex)));
connect(m_projectPartsView->selectionModel(),
SIGNAL(currentRowChanged(QModelIndex ,QModelIndex)),
SLOT(onProjectPartSelected(QModelIndex, QModelIndex)));
SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),
SLOT(onProjectPartSelected(QModelIndex,QModelIndex)));
connect(m_projectPartsView, SIGNAL(filterChanged(QString)),
SLOT(onProjectPartFilterChanged(QString)));
connect(m_workingCopyView->selectionModel(),
SIGNAL(currentRowChanged(QModelIndex ,QModelIndex)),
SLOT(onWorkingCopyDocumentSelected(QModelIndex, QModelIndex)));
SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),
SLOT(onWorkingCopyDocumentSelected(QModelIndex,QModelIndex)));
connect(m_workingCopyView, SIGNAL(filterChanged(QString)),
SLOT(onWorkingCopyFilterChanged(QString)));