This commit is contained in:
NissimHadar 2018-05-30 16:51:17 -07:00
parent 06c167cc68
commit d01d774f76

View file

@ -3180,7 +3180,6 @@ void Application::setHmdTabletBecomesToolbarSetting(bool value) {
updateSystemTabletMode(); updateSystemTabletMode();
} }
#pragma optimize("", off)
void Application::setShowOverlays(bool value) { void Application::setShowOverlays(bool value) {
_hmdTabletBecomesToolbarSetting.set(value); _hmdTabletBecomesToolbarSetting.set(value);
updateSystemTabletMode(); updateSystemTabletMode();
@ -8269,7 +8268,6 @@ void Application::updateThreadPoolCount() const {
QThreadPool::globalInstance()->setMaxThreadCount(threadPoolSize); QThreadPool::globalInstance()->setMaxThreadCount(threadPoolSize);
} }
#pragma optimize("", off)
void Application::updateSystemTabletMode() { void Application::updateSystemTabletMode() {
if (_settingsLoaded) { if (_settingsLoaded) {
qApp->setProperty(hifi::properties::HMD, isHMDMode()); qApp->setProperty(hifi::properties::HMD, isHMDMode());