mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update ModuleManager.cpp
This commit is contained in:
parent
def9f91fb8
commit
052573bafb
@ -133,6 +133,9 @@ Misc::ModuleManager::ModuleManager()
|
|||||||
// Stop modules when application is about to quit
|
// Stop modules when application is about to quit
|
||||||
connect(&m_engine, &QQmlApplicationEngine::quit, this,
|
connect(&m_engine, &QQmlApplicationEngine::quit, this,
|
||||||
&Misc::ModuleManager::onQuit);
|
&Misc::ModuleManager::onQuit);
|
||||||
|
|
||||||
|
// Use software rendering to avoid crashes
|
||||||
|
QQuickWindow::setGraphicsApi(QSGRendererInterface::Software);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user