VirtualBox

Changeset 12416 in vbox for trunk/src


Ignore:
Timestamp:
Sep 12, 2008 10:25:42 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: Regression in the pause image handling of the quartz2d framebuffer (#3174).

File:
1 edited

Legend:

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

    r12096 r12416  
    179179         * Currently this subimage is the whole screen. */
    180180        CGImageRef subImage;
    181         if (mView->isPaused())
     181        if (!mView->pauseShot().isNull())
    182182            subImage = CGImageCreateWithImageInRect (::darwinToCGImageRef (&mView->pauseShot()), CGRectMake (mView->contentsX(), mView->contentsY(), mView->visibleWidth(), mView->visibleHeight()));
    183183        else
     
    226226        QRect is = QRect (ir.x() + mView->contentsX(), ir.y() + mView->contentsY(), ir.width(), ir.height());
    227227        CGImageRef subImage;
    228         if (mView->isPaused())
     228        if (!mView->pauseShot().isNull())
    229229            subImage = CGImageCreateWithImageInRect (::darwinToCGImageRef (&mView->pauseShot()), ::darwinToHIRect (is));
    230230        else
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