forked from qt-creator/qt-creator
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:
@@ -1209,7 +1209,7 @@ bool FakeVimPluginPrivate::initialize()
|
||||
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.
|
||||
disconnect(EditorManager::instance(), &EditorManager::editorOpened,
|
||||
dd, &FakeVimPluginPrivate::editorOpened);
|
||||
|
||||
Reference in New Issue
Block a user