VirtualBox

Ignore:
Timestamp:
Jul 25, 2008 1:39:31 PM (16 years ago)
Author:
vboxsync
Message:

Fe/Qt4: Little code styling.

File:
1 edited

Legend:

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

    r10797 r10892  
    591591    bool event (QEvent *aEvent)
    592592    {
    593 //#warning check me!
    594593        if (aEvent->type() == mType)
    595594        {
    596595            OpenNativeDialogEvent *ev = (OpenNativeDialogEvent*) aEvent;
    597596            mResult = ev->result();
    598             mLoop.exit();
     597            mLoop.quit();
    599598            return true;
    600599        }
     
    874873{
    875874    static QList<QPixmap> list;
    876     if (list.empty()) 
    877     {
    878         for (int i = 0; i < vm_os_types.count(); i++) 
    879         {
    880             QPixmap image(32 + 2*aHorizonalMargin, 32 + 2*aVerticalMargin);
     875    if (list.empty())
     876    {
     877        for (int i = 0; i < vm_os_types.count(); i++)
     878        {
     879            QPixmap image (32 + 2 * aHorizonalMargin, 32 + 2 * aVerticalMargin);
    881880            image.fill (Qt::transparent);
    882             QPainter p(&image);
     881            QPainter p (&image);
    883882            p.drawPixmap (aHorizonalMargin, aVerticalMargin, *vm_os_type_icons.value (vm_os_types [i].GetId()));
    884883            p.end();
     
    34283427    };
    34293428
    3430 //#warning check me!
    3431 
    34323429    /* Local event loop to run while waiting for the result from another
    34333430     * thread */
     
    35803577    if (aSelectedFilter)
    35813578        *aSelectedFilter = QString::null;
    3582 
    3583 //#warning check me!
    35843579
    35853580    /* Local event loop to run while waiting for the result from another
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