Changeset 107352 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 18, 2024 1:02:30 PM (4 weeks ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIGlobalToolsManagerWidget.cpp
r107351 r107352 54 54 } 55 55 56 UIGlobalToolsManagerWidget::~UIGlobalToolsManagerWidget()57 {58 cleanup();59 }60 61 56 UIToolPaneGlobal *UIGlobalToolsManagerWidget::toolPane() const 62 57 { … … 169 164 void UIGlobalToolsManagerWidget::sltHandleCommitData() 170 165 { 171 // WORKAROUND:172 // This will be fixed proper way during session management cleanup for Qt6.173 // But for now we will just cleanup connections which is Ok anyway.174 166 cleanupConnections(); 175 167 } … … 288 280 disconnect(toolPaneMachine(), &UIToolPaneMachine::sigSwitchToActivityOverviewPane, 289 281 this, &UIGlobalToolsManagerWidget::sltSwitchToActivitiesTool); 290 }291 292 void UIGlobalToolsManagerWidget::cleanup()293 {294 /* Ask sub-dialogs to commit data: */295 sltHandleCommitData();296 282 } 297 283 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIGlobalToolsManagerWidget.h
r107348 r107352 65 65 * @param pActionPool Brings the action-pool reference. */ 66 66 UIGlobalToolsManagerWidget(UIVirtualBoxManagerAdvancedWidget *pParent, UIActionPool *pActionPool); 67 /** Destructs Global Tools Manager widget. */68 virtual ~UIGlobalToolsManagerWidget() RT_OVERRIDE;69 67 70 68 /** @name Common stuff. … … 148 146 /** Cleanups connections. */ 149 147 void cleanupConnections(); 150 /** Cleanups all. */151 void cleanup();152 148 /** @} */ 153 149 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.cpp
r107347 r107352 61 61 } 62 62 63 UIMachineManagerWidget::~UIMachineManagerWidget()64 {65 cleanup();66 }67 68 63 UIChooser *UIMachineManagerWidget::chooser() const 69 64 { … … 215 210 void UIMachineManagerWidget::sltHandleCommitData() 216 211 { 217 // WORKAROUND:218 // This will be fixed proper way during session management cleanup for Qt6.219 // But for now we will just cleanup connections which is Ok anyway.220 212 cleanupConnections(); 221 213 } … … 548 540 disconnect(toolMenu(), &UITools::sigSelectionChanged, 549 541 this, &UIMachineManagerWidget::sltHandleToolsMenuIndexChange); 550 }551 552 void UIMachineManagerWidget::cleanup()553 {554 /* Ask sub-dialogs to commit data: */555 sltHandleCommitData();556 542 } 557 543 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.h
r107343 r107352 94 94 * @param pActionPool Brings the action-pool reference. */ 95 95 UIMachineManagerWidget(UIToolPaneGlobal *pParent, UIActionPool *pActionPool); 96 /** Destructs Machine Manager widget. */97 virtual ~UIMachineManagerWidget() RT_OVERRIDE;98 96 99 97 /** @name Common stuff. … … 233 231 /** Cleanups connections. */ 234 232 void cleanupConnections(); 235 /** Cleanups all. */236 void cleanup();237 233 /** @} */ 238 234
Note:
See TracChangeset
for help on using the changeset viewer.