Commit e56591ce authored by Christian Stenger's avatar Christian Stenger Committed by hjk
Browse files

VcsBase: Fix connect for derived classes

Change-Id: I70f77c79c74dcf46b7de6a1b7a395e18ed302d75
Reviewed-by: default avatarhjk <>
parent b5b6a46b
......@@ -351,7 +351,8 @@ void VcsBaseClient::diff(const QString &workingDir, const QStringList &files,
VcsBaseEditorParameterWidget *paramWidget = editor->configurationWidget();
if (!paramWidget && (paramWidget = createDiffEditor(workingDir, files, extraOptions))) {
// editor has been just created, createVcsEditor() didn't set a configuration widget yet
connect(editor, SIGNAL(diffChunkReverted(DiffChunk)), paramWidget, SLOT(executeCommand()));
connect(editor, &VcsBaseEditorWidget::diffChunkReverted,
paramWidget, &VcsBaseEditorParameterWidget::executeCommand);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment