Update ModuleManager.cpp

This commit is contained in:
Alex Spataru 2024-10-14 01:07:22 -05:00 committed by GitHub
parent def9f91fb8
commit 052573bafb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,6 +133,9 @@ Misc::ModuleManager::ModuleManager()
// Stop modules when application is about to quit
connect(&m_engine, &QQmlApplicationEngine::quit, this,
&Misc::ModuleManager::onQuit);
// Use software rendering to avoid crashes
QQuickWindow::setGraphicsApi(QSGRendererInterface::Software);
}
/**