- Timestamp:
- Sep 12, 2008 10:25:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxFBQuartz2D.cpp
r12096 r12416 179 179 * Currently this subimage is the whole screen. */ 180 180 CGImageRef subImage; 181 if ( mView->isPaused())181 if (!mView->pauseShot().isNull()) 182 182 subImage = CGImageCreateWithImageInRect (::darwinToCGImageRef (&mView->pauseShot()), CGRectMake (mView->contentsX(), mView->contentsY(), mView->visibleWidth(), mView->visibleHeight())); 183 183 else … … 226 226 QRect is = QRect (ir.x() + mView->contentsX(), ir.y() + mView->contentsY(), ir.width(), ir.height()); 227 227 CGImageRef subImage; 228 if ( mView->isPaused())228 if (!mView->pauseShot().isNull()) 229 229 subImage = CGImageCreateWithImageInRect (::darwinToCGImageRef (&mView->pauseShot()), ::darwinToHIRect (is)); 230 230 else
Note:
See TracChangeset
for help on using the changeset viewer.