mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 12:38:27 +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() {
|
void Application::enterBackground() {
|
||||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
||||||
"stop", Qt::BlockingQueuedConnection);
|
"stop", Qt::BlockingQueuedConnection);
|
||||||
getActiveDisplayPlugin()->deactivate();
|
//GC: commenting it out until we fix it
|
||||||
|
//getActiveDisplayPlugin()->deactivate();
|
||||||
}
|
}
|
||||||
void Application::enterForeground() {
|
void Application::enterForeground() {
|
||||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),
|
||||||
"start", Qt::BlockingQueuedConnection);
|
"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";
|
qWarning() << "Could not re-activate display plugin";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue