Changeset 89909 in vbox
- Timestamp:
- Jun 25, 2021 9:49:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp
r89908 r89909 81 81 , m_pLabelMachineWindows(0) 82 82 , m_pCheckBoxActivateOnMouseHover(0) 83 #if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11) 83 84 , m_pCheckBoxDisableHostScreenSaver(0) 85 #endif 84 86 { 85 87 prepare(); … … 104 106 gEDataManager->maxGuestResolutionForPolicyFixed()); 105 107 oldData.m_fActivateHoveredMachineWindow = gEDataManager->activateHoveredMachineWindow(); 108 #if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11) 106 109 oldData.m_fDisableHostScreenSaver = gEDataManager->disableHostScreenSaver(); 110 #endif 107 111 oldData.m_scaleFactors = gEDataManager->scaleFactors(UIExtraDataManager::GlobalID); 108 112 m_pCache->cacheInitialData(oldData); … … 290 294 && newData.m_fActivateHoveredMachineWindow != oldData.m_fActivateHoveredMachineWindow) 291 295 /* fSuccess = */ gEDataManager->setActivateHoveredMachineWindow(newData.m_fActivateHoveredMachineWindow); 296 #if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11) 292 297 /* Save whether the host screen saver is to be disable when a vm is running: */ 293 298 if ( fSuccess 294 299 && newData.m_fDisableHostScreenSaver != oldData.m_fDisableHostScreenSaver) 295 300 /* fSuccess = */ gEDataManager->setDisableHostScreenSaver(newData.m_fDisableHostScreenSaver); 301 #endif 296 302 /* Save guest-screen scale-factor: */ 297 303 if ( fSuccess
Note:
See TracChangeset
for help on using the changeset viewer.