VirtualBox

Changeset 89909 in vbox


Ignore:
Timestamp:
Jun 25, 2021 9:49:55 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:3355. Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp

    r89908 r89909  
    8181    , m_pLabelMachineWindows(0)
    8282    , m_pCheckBoxActivateOnMouseHover(0)
     83#if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11)
    8384    , m_pCheckBoxDisableHostScreenSaver(0)
     85#endif
    8486{
    8587    prepare();
     
    104106                                                                             gEDataManager->maxGuestResolutionForPolicyFixed());
    105107    oldData.m_fActivateHoveredMachineWindow = gEDataManager->activateHoveredMachineWindow();
     108#if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11)
    106109    oldData.m_fDisableHostScreenSaver = gEDataManager->disableHostScreenSaver();
     110#endif
    107111    oldData.m_scaleFactors = gEDataManager->scaleFactors(UIExtraDataManager::GlobalID);
    108112    m_pCache->cacheInitialData(oldData);
     
    290294            && newData.m_fActivateHoveredMachineWindow != oldData.m_fActivateHoveredMachineWindow)
    291295            /* fSuccess = */ gEDataManager->setActivateHoveredMachineWindow(newData.m_fActivateHoveredMachineWindow);
     296#if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11)
    292297        /* Save whether the host screen saver is to be disable when a vm is running: */
    293298        if (   fSuccess
    294299            && newData.m_fDisableHostScreenSaver != oldData.m_fDisableHostScreenSaver)
    295300            /* fSuccess = */ gEDataManager->setDisableHostScreenSaver(newData.m_fDisableHostScreenSaver);
     301#endif
    296302        /* Save guest-screen scale-factor: */
    297303        if (   fSuccess
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette