Changeset 5918 in vbox
- Timestamp:
- Dec 2, 2007 10:19:33 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r5883 r5918 76 76 #include <iprt/path.h> 77 77 #include <iprt/env.h> 78 79 #if defined (Q_WS_X11) 80 #include <iprt/mem.h> 81 #endif 78 82 79 83 #if defined (VBOX_GUI_DEBUG) … … 1722 1726 /* get the apps doc path */ 1723 1727 int size = 256; 1724 char *buffer = (char*) malloc (size);1728 char *buffer = (char*) RTMemTmpAlloc (size); 1725 1729 RTPathAppDocs (buffer, size); 1726 1730 QString path (buffer); 1727 free (buffer);1731 RTMemTmpFree (buffer); 1728 1732 QDir docDir (path); 1729 1733 docDir.setFilter (QDir::Files); -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui.h
r5793 r5918 1760 1760 QUuid machineId = hd.GetMachineId(); 1761 1761 if (machineId.isNull() || 1762 vbox.GetMachine (machineId).GetState() != CEnums::PoweredOff &&1763 vbox.GetMachine (machineId).GetState() != CEnums::Aborted)1762 (vbox.GetMachine (machineId).GetState() != CEnums::PoweredOff && 1763 vbox.GetMachine (machineId).GetState() != CEnums::Aborted)) 1764 1764 return false; 1765 1765 } … … 1790 1790 if (!tempMachines.isEmpty()) 1791 1791 return false; 1792 /* only permamently mounted .isocould be released */1792 /* only permamently mounted floppies could be released */ 1793 1793 QStringList permMachines = 1794 1794 QStringList::split (' ', vbox.GetFloppyImageUsage (itemId,
Note:
See TracChangeset
for help on using the changeset viewer.