From 25b5433ae9a3f2a8b4d4df381be073641010d249 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 14 Feb 2018 08:25:55 +0100 Subject: [PATCH] FakeVim: Squash MSVC warning about supposedly non-captured 'this' Change-Id: Ibb81d15209d0c71a67f4707aa981b21fae1e3950 Reviewed-by: Alessandro Portale --- src/plugins/fakevim/fakevimplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 62e9bc8a53c..11c914c97b0 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -1216,7 +1216,7 @@ bool FakeVimPluginPrivate::initialize() connect(act, &QAction::triggered, this, [this, i] { userActionTriggered(i); }); } - connect(ICore::instance(), &ICore::coreAboutToClose, this, [] { + connect(ICore::instance(), &ICore::coreAboutToClose, this, [this] { // Don't attach to editors anymore. disconnect(EditorManager::instance(), &EditorManager::editorOpened, dd, &FakeVimPluginPrivate::editorOpened);