VirtualBox

Changeset 3733 in vbox for trunk/src


Ignore:
Timestamp:
Jul 20, 2007 1:15:35 PM (18 years ago)
Author:
vboxsync
Message:

Qt rectangles are inclusive

File:
1 edited

Legend:

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

    r3728 r3733  
    288288        rect.setLeft (rects->xLeft);
    289289        rect.setBottom (rects->yBottom);
    290         rect.setRight (rects->xRight);
    291         rect.setTop (rects->yTop);
     290        /* QRect are inclusive */
     291        rect.setRight (rects->xRight - 1);
     292        rect.setTop (rects->yTop - 1);
    292293        reg += rect;
    293294        ++ rects;
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