FakeVim: Fix compiler warning

Remove unused lambda capture

Change-Id: I973a5a6be6e2c27450ab80bbb87c9077f0ecd3e9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2022-05-11 11:37:11 +02:00
parent 5e9d34793c
commit b6dcca00c9

View File

@@ -1209,7 +1209,7 @@ bool FakeVimPluginPrivate::initialize()
connect(act, &QAction::triggered, this, [this, i] { userActionTriggered(i); }); connect(act, &QAction::triggered, this, [this, i] { userActionTriggered(i); });
} }
connect(ICore::instance(), &ICore::coreAboutToClose, this, [this] { connect(ICore::instance(), &ICore::coreAboutToClose, this, [] {
// Don't attach to editors anymore. // Don't attach to editors anymore.
disconnect(EditorManager::instance(), &EditorManager::editorOpened, disconnect(EditorManager::instance(), &EditorManager::editorOpened,
dd, &FakeVimPluginPrivate::editorOpened); dd, &FakeVimPluginPrivate::editorOpened);