VirtualBox

Changeset 31248 in vbox


Ignore:
Timestamp:
Jul 30, 2010 1:46:04 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: use update() and not repaint() to update the viewport as it is more efficient (see #5051)

File:
1 edited

Legend:

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

    r30912 r31248  
    763763        {
    764764            UIRepaintEvent *pPaintEvent = static_cast<UIRepaintEvent*>(pEvent);
    765             viewport()->repaint(pPaintEvent->x() - contentsX(), pPaintEvent->y() - contentsY(),
     765            viewport()->update(pPaintEvent->x() - contentsX(), pPaintEvent->y() - contentsY(),
    766766                                pPaintEvent->width(), pPaintEvent->height());
    767767            return true;
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