- Timestamp:
- Sep 5, 2017 6:47:43 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r68541 r68663 454 454 setState(enmState); 455 455 } 456 else 457 { 458 strFullData = QString(s_strTableRow1).arg(QApplication::translate("UIGDetails", "Disabled", "details (audio)")); 459 setState(AudioState_AllOff); 460 } 456 457 /* Hide indicator if adapter is disabled: */ 458 if (!fAudioEnabled) 459 hide(); 461 460 462 461 /* Update tool-tip: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r68508 r68663 2155 2155 } 2156 2156 2157 /* Audio stuff: */ 2158 { 2159 /* Check whether audio controller is enabled. */ 2160 const CAudioAdapter &comAdapter = machine().GetAudioAdapter(); 2161 if (comAdapter.isNull() || !comAdapter.GetEnabled()) 2162 restrictionForDevices = (UIExtraDataMetaDefs::RuntimeMenuDevicesActionType)(restrictionForDevices | UIExtraDataMetaDefs::RuntimeMenuDevicesActionType_Audio); 2163 } 2164 2157 2165 /* Network stuff: */ 2158 2166 {
Note:
See TracChangeset
for help on using the changeset viewer.