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
26}26}
27 27
28float LODManager::getLODDecreaseFPS() {28float LODManager::getLODDecreaseFPS() {
29 if (Application::getInstance()->isHMDMode()) {29 if (qApp->isHMDMode()) {
30 return getHMDLODDecreaseFPS();30 return getHMDLODDecreaseFPS();
31 }31 }
32 return getDesktopLODDecreaseFPS();32 return getDesktopLODDecreaseFPS();
33}33}
34 34
35float LODManager::getLODIncreaseFPS() {35float LODManager::getLODIncreaseFPS() {
36 if (Application::getInstance()->isHMDMode()) {36 if (qApp->isHMDMode()) {
37 return getHMDLODIncreaseFPS();37 return getHMDLODIncreaseFPS();
38 }38 }
39 return getDesktopLODIncreaseFPS();39 return getDesktopLODIncreaseFPS();