forked from qt-creator/qt-creator
Fix some compler warnings
1x warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 2x warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class] Change-Id: I762fbe935156de9600064512bc405c6f4b2b1477 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1048,7 +1048,7 @@ void FakeVimPluginPrivate::initialize()
|
||||
INSTALL_HANDLER, Context(Core::Constants::C_GLOBAL), true);
|
||||
cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+Shift+Y,Meta+Shift+Y")
|
||||
: Tr::tr("Alt+Y,Alt+Y")));
|
||||
connect(cmd->action(), &QAction::triggered, [this] { settings().writeSettings(); });
|
||||
connect(cmd->action(), &QAction::triggered, [] { settings().writeSettings(); });
|
||||
|
||||
ActionContainer *advancedMenu =
|
||||
ActionManager::actionContainer(Core::Constants::M_EDIT_ADVANCED);
|
||||
|
||||
Reference in New Issue
Block a user