Changeset 102322 in vbox
- Timestamp:
- Nov 27, 2023 1:54:40 PM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 160456
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r102268 r102322 767 767 768 768 // WORKAROUND: 769 // This will be fixed proper way during session management clean aup for Qt6.769 // This will be fixed proper way during session management cleanup for Qt6. 770 770 // But for now we will just cleanup connections which is Ok anyway. 771 771 cleanupConnections(); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r102308 r102322 344 344 } 345 345 346 void UIVirtualBoxManagerWidget::sltHandleCommitData() 347 { 348 // WORKAROUND: 349 // This will be fixed proper way during session management cleanup for Qt6. 350 // But for now we will just cleanup connections which is Ok anyway. 351 cleanupConnections(); 352 } 353 346 354 void UIVirtualBoxManagerWidget::sltHandleStateChange(const QUuid &uId) 347 355 { … … 788 796 void UIVirtualBoxManagerWidget::prepareConnections() 789 797 { 798 /* UICommon connections: */ 799 connect(&uiCommon(), &UICommon::sigAskToCommitData, 800 this, &UIVirtualBoxManagerWidget::sltHandleCommitData); 801 790 802 /* Global VBox event handlers: */ 791 803 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineStateChange, … … 1102 1114 void UIVirtualBoxManagerWidget::cleanup() 1103 1115 { 1116 /* Ask sub-dialogs to commit data: */ 1117 sltHandleCommitData(); 1118 1104 1119 /* Cleanup everything: */ 1105 cleanupConnections();1106 1120 cleanupWidgets(); 1107 1121 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h
r102120 r102322 265 265 private slots: 266 266 267 /** @name General stuff. 268 * @{ */ 269 /** Handles request to commit data. */ 270 void sltHandleCommitData(); 271 /** @} */ 272 267 273 /** @name CVirtualBox event handling stuff. 268 274 * @{ */
Note:
See TracChangeset
for help on using the changeset viewer.