Update to latest libopenui

This commit is contained in:
Bertrand Songis
2020-12-04 16:37:42 +01:00
parent edd16a4b85
commit 0f87115dc4
9 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ void openUsbMenu()
static Menu * menu = nullptr;
if (menu)
return;
menu = new Menu(&mainWindow);
menu = new Menu(MainWindow::instance());
menu->setCloseHandler([]() {
menu = nullptr;
});
@@ -329,7 +329,7 @@ void guiMain(event_t evt)
bool screenshotRequested = (mainRequestFlags & (1u << REQUEST_SCREENSHOT));
#if defined(LIBOPENUI)
mainWindow.run();
MainWindow::instance()->run();
#else
if (!refreshNeeded) {
DEBUG_TIMER_START(debugTimerMenus);