forked from qt-creator/qt-creator
Port to new connect api
Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -57,10 +57,10 @@ DiffEditorGuiController::DiffEditorGuiController(
|
||||
m_syncScrollBars).toBool();
|
||||
s->endGroup();
|
||||
|
||||
connect(m_controller, SIGNAL(cleared(QString)),
|
||||
this, SLOT(slotUpdateDiffFileIndex()));
|
||||
connect(m_controller, SIGNAL(diffFilesChanged(QList<FileData>,QString)),
|
||||
this, SLOT(slotUpdateDiffFileIndex()));
|
||||
connect(m_controller, &DiffEditorController::cleared, this,
|
||||
&DiffEditorGuiController::slotUpdateDiffFileIndex);
|
||||
connect(m_controller, &DiffEditorController::diffFilesChanged, this,
|
||||
&DiffEditorGuiController::slotUpdateDiffFileIndex);
|
||||
slotUpdateDiffFileIndex();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user