VirtualBox

Changeset 5918 in vbox


Ignore:
Timestamp:
Dec 2, 2007 10:19:33 PM (17 years ago)
Author:
vboxsync
Message:

gcc-4.3 fixes

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp

    r5883 r5918  
    7676#include <iprt/path.h>
    7777#include <iprt/env.h>
     78
     79#if defined (Q_WS_X11)
     80#include <iprt/mem.h>
     81#endif
    7882
    7983#if defined (VBOX_GUI_DEBUG)
     
    17221726    /* get the apps doc path */
    17231727    int size = 256;
    1724     char *buffer = (char*) malloc (size);
     1728    char *buffer = (char*) RTMemTmpAlloc (size);
    17251729    RTPathAppDocs (buffer, size);
    17261730    QString path (buffer);
    1727     free (buffer);
     1731    RTMemTmpFree (buffer);
    17281732    QDir docDir (path);
    17291733    docDir.setFilter (QDir::Files);
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui.h

    r5793 r5918  
    17601760        QUuid machineId = hd.GetMachineId();
    17611761        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))
    17641764            return false;
    17651765    }
     
    17901790        if (!tempMachines.isEmpty())
    17911791            return false;
    1792         /* only permamently mounted .iso could be released */
     1792        /* only permamently mounted floppies could be released */
    17931793        QStringList permMachines =
    17941794            QStringList::split (' ', vbox.GetFloppyImageUsage (itemId,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette