VirtualBox

Changeset 33579 in vbox


Ignore:
Timestamp:
Oct 28, 2010 5:39:48 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: shadow var

File:
1 edited

Legend:

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

    r32741 r33579  
    388388     * state was 'saved'. */
    389389    if (session().GetMachine().GetState() == KMachineState_Saved)
    390         QSize size = guestSizeHint();
     390        size = guestSizeHint();
    391391#endif /* Q_WS_X11 */
    392392    /* If there is a preview image saved, we will resize the framebuffer to the
     
    520520    /* HACK ALERT! Really ugly workaround for the resizing to 9x1 done by DevVGA if provoked before power on. */
    521521    QSize fb(m_pFrameBuffer->width(), m_pFrameBuffer->height());
    522     if (fb.width() < 16 || fb.height() < 16) 
     522    if (fb.width() < 16 || fb.height() < 16)
    523523    {
    524524        CMachine machine = uisession()->session().GetMachine();
    525         if (   vboxGlobal().isStartPausedEnabled() 
     525        if (   vboxGlobal().isStartPausedEnabled()
    526526            || vboxGlobal().isDebuggerAutoShowEnabled(machine))
    527527        fb = QSize(640, 480);
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