FakeVim: Squash MSVC warning about supposedly non-captured 'this'

Change-Id: Ibb81d15209d0c71a67f4707aa981b21fae1e3950
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2018-02-14 08:25:55 +01:00
parent 892546bd6a
commit 25b5433ae9

View File

@@ -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);