Changeset 89700 in vbox for trunk/src/VBox
- Timestamp:
- Jun 15, 2021 10:21:35 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145148
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r89688 r89700 4743 4743 else if (strKey == GUI_CloudConsoleManager_Restrictions) 4744 4744 emit sigCloudConsoleManagerRestrictionChange(); 4745 else if (strKey == GUI_DisableHostScreenSaver) 4746 emit sigDisableHostScreenSaverStateChange(isFeatureAllowed(GUI_DisableHostScreenSaver)); 4745 4747 /* Details categories: */ 4746 4748 else if (strKey == GUI_Details_Elements) -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r89688 r89700 115 115 void sigDockIconOverlayAppearanceChange(bool fEnabled); 116 116 #endif /* VBOX_WS_MAC */ 117 118 #ifdef VBOX_WS_X11 119 /* Is emitted when host screen saver inhibition state changes. */ 120 void sigDisableHostScreenSaverStateChange(bool fDisable); 121 #endif 117 122 118 123 public: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r89040 r89700 708 708 { 709 709 m_fIsHidLedsSyncEnabled = fEnabled; 710 } 711 712 void UIMachineLogic::sltDisableHostScreenSaverStateChanged(bool fDisabled) 713 { 714 Q_UNUSED(fDisabled); 710 715 } 711 716 … … 1487 1492 /* HID LEDs sync initialization: */ 1488 1493 sltSwitchKeyboardLedsToGuestLeds(); 1494 /* */ 1495 #if defined(VBOX_WS_X11) 1496 connect(gEDataManager, &UIExtraDataManager::sigDisableHostScreenSaverStateChange, 1497 this, &UIMachineLogic::sltDisableHostScreenSaverStateChanged); 1498 #endif 1489 1499 } 1490 1500 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r89040 r89700 351 351 void sltSwitchKeyboardLedsToPreviousLeds(); 352 352 353 /* Handle disabling/enabling host screen saver. */ 354 void sltDisableHostScreenSaverStateChanged(bool fDisabled); 355 353 356 /** Show Global Preferences. */ 354 357 void sltShowGlobalPreferences(); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r87251 r89700 195 195 196 196 bool fIsUSBEmpty = host.GetUSBDevices().size() == 0; 197 printf("%d %d %d warning\n", host.lastRC(), host.isReallyOk(), host.isWarning()); 198 197 199 if (fIsUSBEmpty) 198 200 {
Note:
See TracChangeset
for help on using the changeset viewer.