Merge branch 'qt' of https://github.com/ts-korhonen/86Box into qt-toolbar

This commit is contained in:
ts-korhonen
2022-01-13 00:50:41 +02:00

View File

@@ -48,6 +48,8 @@ extern "C" {
extern int qt_nvr_save(void); extern int qt_nvr_save(void);
} }
void qt_set_sequence_auto_mnemonic(bool b);
void void
main_thread_fn() main_thread_fn()
{ {
@@ -101,6 +103,7 @@ main_thread_fn()
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
QApplication app(argc, argv); QApplication app(argc, argv);
qt_set_sequence_auto_mnemonic(false);
Q_INIT_RESOURCE(qt_resources); Q_INIT_RESOURCE(qt_resources);
Q_INIT_RESOURCE(qt_translations); Q_INIT_RESOURCE(qt_translations);
QSurfaceFormat fmt = QSurfaceFormat::defaultFormat(); QSurfaceFormat fmt = QSurfaceFormat::defaultFormat();