Attempt to fix Mac builds.

This commit is contained in:
OBattler
2022-07-11 03:44:30 +02:00
parent 01bbe0afcd
commit 476435f3d0

View File

@@ -39,6 +39,7 @@
#include <QLibrary> #include <QLibrary>
#include <QElapsedTimer> #include <QElapsedTimer>
#include "qt_rendererstack.hpp"
#include "qt_mainwindow.hpp" #include "qt_mainwindow.hpp"
#include "qt_progsettings.hpp" #include "qt_progsettings.hpp"
@@ -372,7 +373,7 @@ plat_power_off(void)
cycles -= 99999999; cycles -= 99999999;
cpu_thread_run = 0; cpu_thread_run = 0;
QTimer::singleShot(0, main_window, &QMainWindow::close); QTimer::singleShot(0, (const QWidget *) main_window, &QMainWindow::close);
} }
void set_language(uint32_t id) { void set_language(uint32_t id) {