Changeset 48316 in vbox
- Timestamp:
- Sep 5, 2013 4:14:52 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r48022 r48316 30 30 31 31 /* GUI includes: */ 32 #include "VBoxGlobal.h" 33 #include "UIConverter.h" 32 34 #include "UIMessageCenter.h" 33 #include "VBoxGlobal.h"34 35 #include "UISelectorWindow.h" 35 36 #include "UIProgressDialog.h" 36 37 #include "UINetworkManager.h" 37 38 #include "UINetworkManagerDialog.h" 38 #include "UIConverter.h"39 39 #include "UIModalWindowManager.h" 40 #include "UIMedium.h" 40 41 #ifdef VBOX_OSE 41 42 # include "UIDownloaderUserManual.h" -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.cpp
r48301 r48316 39 39 #include "UIIconPool.h" 40 40 #include "UIMediumTypeChangeDialog.h" 41 #include "UIMedium.h" 41 42 42 43 /* COM includes: */ … … 1753 1754 1754 1755 /* static */ 1755 bool UIMediumManager::isMediumAttachedToHiddenMachinesOnly( UIMediummedium)1756 bool UIMediumManager::isMediumAttachedToHiddenMachinesOnly(const UIMedium &medium) 1756 1757 { 1757 1758 /* Iterate till the root: */ 1759 UIMedium mediumIterator = medium; 1758 1760 do 1759 1761 { 1760 1762 /* Ignore medium if its hidden 1761 1763 * or attached to hidden machines only: */ 1762 if (medium .isHidden())1764 if (mediumIterator.isHidden()) 1763 1765 return true; 1764 1766 /* Move iterator to parent: */ 1765 medium = medium.parent();1766 } 1767 while (!medium .isNull());1767 mediumIterator = mediumIterator.parent(); 1768 } 1769 while (!mediumIterator.isNull()); 1768 1770 /* False by default: */ 1769 1771 return false; -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.h
r48301 r48316 24 24 #include "QIWithRetranslateUI.h" 25 25 #include "QIMainDialog.h" 26 #include "UIMedium .h"26 #include "UIMediumDefs.h" 27 27 28 28 /* COM includes: */ … … 35 35 class UIMediumItem; 36 36 class UIEnumerationProgressBar; 37 class UIMedium; 37 38 38 39 /* Medium Manager Dialog: */ … … 152 153 153 154 /* Static helper: Enumeration stuff: */ 154 static bool isMediumAttachedToHiddenMachinesOnly( UIMediummedium);155 static bool isMediumAttachedToHiddenMachinesOnly(const UIMedium &medium); 155 156 156 157 /* Variable: Singleton instance: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r48301 r48316 46 46 #include "UIVirtualBoxEventHandler.h" 47 47 #include "UIMediumManager.h" 48 #include "UIMedium.h" 48 49 #include "UIMessageCenter.h" 49 50 #include "UISelectorWindow.h" -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r47998 r48316 26 26 /* GUI includes: */ 27 27 #include "QIWithRetranslateUI.h" 28 #include "UIMedium.h"29 28 #include "UINetworkDefs.h" 30 29 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r48310 r48316 44 44 45 45 /* COM includes: */ 46 #include "CVirtualBox.h" 46 47 #include "CMachine.h" 47 #include "C VirtualBox.h"48 #include "CMedium.h" 48 49 49 50 /* Type defs: */
Note:
See TracChangeset
for help on using the changeset viewer.