diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index 236d05f8d..76fddd48d 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -2247,7 +2247,7 @@ void GuiMenu::openQuitMenu() s->addRow(row); row.elements.clear(); - row.makeAcceptInputHandler([window, this] { + row.makeAcceptInputHandler([window] { window->pushGui(new GuiMsgBox( _("REALLY REBOOT?"), _("YES"), [] { @@ -2264,7 +2264,7 @@ void GuiMenu::openQuitMenu() s->addRow(row); row.elements.clear(); - row.makeAcceptInputHandler([window, this] { + row.makeAcceptInputHandler([window] { window->pushGui(new GuiMsgBox( _("REALLY POWER OFF?"), _("YES"), [] { diff --git a/es-app/src/views/ViewController.h b/es-app/src/views/ViewController.h index 2d216201e..a5c079ff9 100644 --- a/es-app/src/views/ViewController.h +++ b/es-app/src/views/ViewController.h @@ -132,7 +132,7 @@ public: std::vector getHelpPrompts() override; - void setHelpComponentsVisibility(const bool state) + void setHelpComponentsVisibility(const bool state) override { if (mCurrentView != nullptr) mCurrentView->setHelpComponentsVisibility(state);