- Timestamp:
- Mar 21, 2023 3:28:29 PM (23 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineDefs.h
r98984 r99091 53 53 UIVisualElement_FDStuff = RT_BIT(5), 54 54 UIVisualElement_AudioStuff = RT_BIT(6), 55 UIVisualElement_NetworkStuff = RT_BIT(7),56 55 UIVisualElement_USBStuff = RT_BIT(8), 57 56 UIVisualElement_SharedFolderStuff = RT_BIT(9), -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r98952 r99091 113 113 } 114 114 115 void UIMachineWindowNormal::sltNetworkAdapterChange()116 {117 /* Update network stuff: */118 updateAppearanceOf(UIVisualElement_NetworkStuff);119 }120 121 115 void UIMachineWindowNormal::sltSharedFolderChange() 122 116 { … … 263 257 connect(machineLogic()->uimachine(), &UIMachine::sigAudioAdapterChange, 264 258 this, &UIMachineWindowNormal::sltAudioAdapterChange); 265 connect(machineLogic()->uimachine(), &UIMachine::sigNetworkAdapterChange,266 this, &UIMachineWindowNormal::sltNetworkAdapterChange);267 259 connect(machineLogic()->uimachine(), &UIMachine::sigSharedFolderChange, 268 260 this, &UIMachineWindowNormal::sltSharedFolderChange); … … 465 457 disconnect(machineLogic()->uimachine(), &UIMachine::sigUSBDeviceStateChange, 466 458 this, &UIMachineWindowNormal::sltUSBDeviceStateChange); 467 disconnect(machineLogic()->uimachine(), &UIMachine::sigNetworkAdapterChange,468 this, &UIMachineWindowNormal::sltNetworkAdapterChange);469 459 disconnect(machineLogic()->uimachine(), &UIMachine::sigAudioAdapterChange, 470 460 this, &UIMachineWindowNormal::sltAudioAdapterChange); … … 743 733 if (iElement & UIVisualElement_AudioStuff) 744 734 m_pIndicatorsPool->updateAppearance(IndicatorType_Audio); 745 if (iElement & UIVisualElement_NetworkStuff)746 m_pIndicatorsPool->updateAppearance(IndicatorType_Network);747 735 if (iElement & UIVisualElement_USBStuff) 748 736 m_pIndicatorsPool->updateAppearance(IndicatorType_USB); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.h
r98952 r99091 67 67 /** Handles audio adapter change event. */ 68 68 void sltAudioAdapterChange(); 69 /** Handles network adapter change event. */70 void sltNetworkAdapterChange();71 69 /** Handles shared folder change event. */ 72 70 void sltSharedFolderChange();
Note:
See TracChangeset
for help on using the changeset viewer.