Changeset 51453 in vbox for trunk/src/VBox
- Timestamp:
- May 28, 2014 5:46:46 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94019
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r51390 r51453 143 143 UIVirtualBoxEventHandler::destroy(); 144 144 145 #ifdef Q_WS_MAC 146 UIWindowMenuManager::destroy(); 147 #endif /* Q_WS_MAC */ 148 149 /* Cleanup connections: */ 150 cleanupConnections(); 151 145 152 /* Save settings: */ 146 153 saveSettings(); … … 1602 1609 QString strWinPos = QString("%1,%2,%3,%4").arg(save.x()).arg(save.y()).arg(save.width()).arg(save.height()); 1603 1610 #ifdef Q_WS_MAC 1604 UIWindowMenuManager::destroy();1605 ::darwinUnregisterForUnifiedToolbarContextMenuEvents(this);1606 1611 if (::darwinIsWindowMaximized(this)) 1607 1612 #else /* Q_WS_MAC */ … … 1617 1622 vbox.SetExtraDataIntList(GUI_SplitterSizes, m_pSplitter->sizes()); 1618 1623 } 1624 } 1625 1626 void UISelectorWindow::cleanupConnections() 1627 { 1628 #ifdef Q_WS_MAC 1629 /* Tool-bar connections: */ 1630 ::darwinUnregisterForUnifiedToolbarContextMenuEvents(this); 1631 #endif /* Q_WS_MAC */ 1619 1632 } 1620 1633 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r50081 r51453 131 131 void loadSettings(); 132 132 void saveSettings(); 133 void cleanupConnections(); 133 134 134 135 /* Helpers: Current item stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.