forked from qt-creator/qt-creator
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:
@@ -1216,7 +1216,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, [] {
|
connect(ICore::instance(), &ICore::coreAboutToClose, this, [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);
|
||||||
|
Reference in New Issue
Block a user