Changeset 99093 in vbox
- Timestamp:
- Mar 21, 2023 3:45:23 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156458
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r99092 r99093 346 346 /* Configure connection: */ 347 347 connect(pMachine, &UIMachine::sigMachineStateChange, 348 this, &UIIndicatorAudio::updateAppearance); 349 connect(pMachine, &UIMachine::sigAudioAdapterChange, 348 350 this, &UIIndicatorAudio::updateAppearance); 349 351 /* Translate finally: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineDefs.h
r99092 r99093 49 49 UIVisualElement_MouseIntegrationStuff = RT_BIT(1), 50 50 UIVisualElement_IndicatorPoolStuff = RT_BIT(2), 51 UIVisualElement_AudioStuff = RT_BIT(6),52 51 UIVisualElement_USBStuff = RT_BIT(8), 53 52 UIVisualElement_SharedFolderStuff = RT_BIT(9), 54 UIVisualElement_Display = RT_BIT(10),55 53 UIVisualElement_Recording = RT_BIT(11), 56 54 UIVisualElement_FeaturesStuff = RT_BIT(12), -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r99092 r99093 95 95 } 96 96 97 void UIMachineWindowNormal::sltAudioAdapterChange()98 {99 /* Update audio stuff: */100 updateAppearanceOf(UIVisualElement_AudioStuff);101 }102 103 97 void UIMachineWindowNormal::sltSharedFolderChange() 104 98 { … … 238 232 connect(machineLogic()->uimachine(), &UIMachine::sigUSBDeviceStateChange, 239 233 this, &UIMachineWindowNormal::sltUSBDeviceStateChange); 240 connect(machineLogic()->uimachine(), &UIMachine::sigAudioAdapterChange,241 this, &UIMachineWindowNormal::sltAudioAdapterChange);242 234 connect(machineLogic()->uimachine(), &UIMachine::sigSharedFolderChange, 243 235 this, &UIMachineWindowNormal::sltSharedFolderChange); … … 438 430 disconnect(machineLogic()->uimachine(), &UIMachine::sigUSBDeviceStateChange, 439 431 this, &UIMachineWindowNormal::sltUSBDeviceStateChange); 440 disconnect(machineLogic()->uimachine(), &UIMachine::sigAudioAdapterChange,441 this, &UIMachineWindowNormal::sltAudioAdapterChange);442 432 disconnect(machineLogic()->uimachine(), &UIMachine::sigSharedFolderChange, 443 433 this, &UIMachineWindowNormal::sltSharedFolderChange); … … 706 696 if (uimachine()->isRunning()) 707 697 { 708 if (iElement & UIVisualElement_AudioStuff)709 m_pIndicatorsPool->updateAppearance(IndicatorType_Audio);710 698 if (iElement & UIVisualElement_USBStuff) 711 699 m_pIndicatorsPool->updateAppearance(IndicatorType_USB); 712 700 if (iElement & UIVisualElement_SharedFolderStuff) 713 701 m_pIndicatorsPool->updateAppearance(IndicatorType_SharedFolders); 714 if (iElement & UIVisualElement_Display)715 m_pIndicatorsPool->updateAppearance(IndicatorType_Display);716 702 if (iElement & UIVisualElement_FeaturesStuff) 717 703 m_pIndicatorsPool->updateAppearance(IndicatorType_Features); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.h
r99092 r99093 63 63 /** Handles USB device state change event. */ 64 64 void sltUSBDeviceStateChange(); 65 /** Handles audio adapter change event. */66 void sltAudioAdapterChange();67 65 /** Handles shared folder change event. */ 68 66 void sltSharedFolderChange();
Note:
See TracChangeset
for help on using the changeset viewer.