History

Replace Application::getInstance() with qApp

Atlante45 committed 11 years ago

Commit cf3b33a1 parent 2c276bb37 files · +197 −181Browse files

Showing the changes to interface/src/LODManager.cpp (1 of 37 files). Show all

Unified · Split

interface/src/LODManager.cpp+2−2
@@ -26,14 +26,14 @@ LODManager::LODManager() { · 25 unmodified lines
2626 }
2727
2828 float LODManager::getLODDecreaseFPS() {
29− if (Application::getInstance()->isHMDMode()) {
29+ if (qApp->isHMDMode()) {
3030 return getHMDLODDecreaseFPS();
3131 }
3232 return getDesktopLODDecreaseFPS();
3333 }
3434
3535 float LODManager::getLODIncreaseFPS() {
36− if (Application::getInstance()->isHMDMode()) {
36+ if (qApp->isHMDMode()) {
3737 return getHMDLODIncreaseFPS();
3838 }
3939 return getDesktopLODIncreaseFPS();