VirtualBox

Changeset 46322 in vbox for trunk/src


Ignore:
Timestamp:
May 30, 2013 10:45:53 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: QImage frame-buffer: Fixing viewport-scrolling regression caused by r85987.

File:
1 edited

Legend:

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

    r46283 r46322  
    303303/* static */
    304304void UIFrameBufferQImage::drawImageRectWide(QPainter &painter, const QImage &image,
    305                                             const QRect &rect, int iContentsShiftX, int /*iContentsShiftY*/)
     305                                            const QRect &rect, int iContentsShiftX, int iContentsShiftY)
    306306{
    307307    /* This method is faster for wide updates: */
    308     QPixmap pm = QPixmap::fromImage(QImage(image.scanLine(rect.y() + iContentsShiftX),
     308    QPixmap pm = QPixmap::fromImage(QImage(image.scanLine(rect.y() + iContentsShiftY),
    309309                                           image.width(), rect.height(), image.bytesPerLine(),
    310310                                           QImage::Format_RGB32));
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