mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 18:36:32 +02:00
Commenting out display plugin activation/desactivation
This commit is contained in:
parent
001cd5e937
commit
ccb5e1e06c
1 changed files with 5 additions and 3 deletions
|
@ -7942,14 +7942,16 @@ void Application::openAndroidActivity(const QString& activityName) {
|
|||
void Application::enterBackground() {
|
||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
||||
"stop", Qt::BlockingQueuedConnection);
|
||||
getActiveDisplayPlugin()->deactivate();
|
||||
//GC: commenting it out until we fix it
|
||||
//getActiveDisplayPlugin()->deactivate();
|
||||
}
|
||||
void Application::enterForeground() {
|
||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
||||
"start", Qt::BlockingQueuedConnection);
|
||||
if (!getActiveDisplayPlugin() || !getActiveDisplayPlugin()->activate()) {
|
||||
//GC: commenting it out until we fix it
|
||||
/*if (!getActiveDisplayPlugin() || !getActiveDisplayPlugin()->activate()) {
|
||||
qWarning() << "Could not re-activate display plugin";
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue