VirtualBox

Changeset 27220 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 9, 2010 4:19:20 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: new core: force a repaint

File:
1 edited

Legend:

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

    r27218 r27220  
    655655            viewport()->repaint(pPaintEvent->x() - contentsX(), pPaintEvent->y() - contentsY(),
    656656                                pPaintEvent->width(), pPaintEvent->height());
     657
    657658            return true;
    658659        }
     
    988989                        m_pauseShot = QPixmap::fromImage(shot);
    989990                        /* Fully repaint to pick up m_pauseShot: */
    990                         repaint();
     991                        viewport()->repaint();
    991992                    }
    992993                }else
     
    10031004                        m_pauseShot = QPixmap::fromImage(shot);
    10041005                        /* Fully repaint to pick up m_pauseShot: */
    1005                         repaint();
     1006                        viewport()->repaint();
    10061007                    }
    10071008                    else
     
    10121013                        m_pauseShot = QPixmap::fromImage(shot);
    10131014                        /* Fully repaint to pick up m_pauseShot: */
    1014                         repaint();
     1015                        viewport()->repaint();
    10151016                    }
    10161017                }
    10171018            }
     1019            break;
    10181020        }
    10191021        case KMachineState_Stuck:
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