- Timestamp:
- Jun 21, 2010 1:30:27 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r30192 r30330 630 630 } 631 631 632 void UIMachineLogic::cleanupMachineWindows()633 {634 #ifdef Q_WS_MAC635 /* We need to clean up the dock stuff before the machine windows. */636 cleanupDock();637 #endif /* Q_WS_MAC */638 }639 640 632 #ifdef Q_WS_MAC 641 633 void UIMachineLogic::cleanupDock() -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r29014 r30330 119 119 /* Cleanup helpers: */ 120 120 //virtual void cleanupRequiredFeatures() {} 121 virtual void cleanupMachineWindows();122 121 #ifdef Q_WS_MAC 123 122 virtual void cleanupDock(); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r29069 r30330 47 47 UIMachineLogicFullscreen::~UIMachineLogicFullscreen() 48 48 { 49 /* Cleanup machine window: */ 49 #ifdef Q_WS_MAC 50 /* Cleanup the dock stuff before the machine window(s): */ 51 cleanupDock(); 52 #endif /* Q_WS_MAC */ 53 54 /* Cleanup machine window(s): */ 50 55 cleanupMachineWindows(); 51 56 … … 217 222 return; 218 223 219 /* Base class cleanup: */ 220 UIMachineLogic::cleanupMachineWindows(); 221 222 /* Cleanup normal machine window: */ 224 /* Cleanup machine window(s): */ 223 225 foreach (UIMachineWindow *pMachineWindow, machineWindows()) 224 226 UIMachineWindow::destroy(pMachineWindow); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.cpp
r28800 r30330 42 42 UIMachineLogicNormal::~UIMachineLogicNormal() 43 43 { 44 /* Cleanup normal machine window: */ 44 #ifdef Q_WS_MAC 45 /* Cleanup the dock stuff before the machine window(s): */ 46 cleanupDock(); 47 #endif /* Q_WS_MAC */ 48 49 /* Cleanup machine window(s): */ 45 50 cleanupMachineWindow(); 46 51 } … … 131 136 return; 132 137 133 /* Base class cleanup: */134 UIMachineLogic::cleanupMachineWindows();135 136 138 #ifdef Q_WS_MAC // TODO: Is that really need here? 137 139 /* We have to make sure that we are getting the front most process. … … 159 161 return; 160 162 161 /* Cleanup normal machine window: */163 /* Cleanup machine window(s): */ 162 164 foreach (UIMachineWindow *pMachineWindow, machineWindows()) 163 165 UIMachineWindow::destroy(pMachineWindow); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.cpp
r28800 r30330 45 45 UIMachineLogicSeamless::~UIMachineLogicSeamless() 46 46 { 47 /* Cleanup normal machine window: */ 47 #ifdef Q_WS_MAC 48 /* Cleanup the dock stuff before the machine window(s): */ 49 cleanupDock(); 50 #endif /* Q_WS_MAC */ 51 52 /* Cleanup machine window(s): */ 48 53 cleanupMachineWindows(); 49 54 … … 197 202 return; 198 203 199 /* Base class cleanup: */ 200 UIMachineLogic::cleanupMachineWindows(); 201 202 /* Cleanup normal machine window: */ 204 /* Cleanup machine window(s): */ 203 205 foreach (UIMachineWindow *pMachineWindow, machineWindows()) 204 206 UIMachineWindow::destroy(pMachineWindow);
Note:
See TracChangeset
for help on using the changeset viewer.