forked from qt-creator/qt-creator
Fix some compiler warnings about unused variables
Change-Id: I9a9450eab68f53b08722adb9a5d33c4f318b2129 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1558,7 +1558,7 @@ void FakeVimPluginPrivate::editorOpened(IEditor *editor)
|
||||
return;
|
||||
|
||||
// Duplicated editors are not signalled by the EditorManager. Track them nevertheless.
|
||||
connect(editor, &IEditor::editorDuplicated, this, [this, editor](IEditor *duplicate) {
|
||||
connect(editor, &IEditor::editorDuplicated, this, [this](IEditor *duplicate) {
|
||||
editorOpened(duplicate);
|
||||
connect(duplicate, &QObject::destroyed, this, [this, duplicate] {
|
||||
m_editorToHandler.remove(duplicate);
|
||||
|
||||
Reference in New Issue
Block a user