VirtualBox

Changeset 74503 in vbox for trunk/src


Ignore:
Timestamp:
Sep 27, 2018 2:58:16 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager: Tools pane: A fix for item border painting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsItem.cpp

    r74483 r74503  
    763763    pPainter->setPen(pen);
    764764
    765     /* Draw frame: */
    766     pPainter->drawRect(rectangle);
     765    /* Draw borders: */
     766    pPainter->drawLine(rectangle.topLeft(),    rectangle.topRight());
     767    pPainter->drawLine(rectangle.bottomLeft(), rectangle.bottomRight());
     768    pPainter->drawLine(rectangle.topLeft(),    rectangle.bottomLeft());
     769    pPainter->drawLine(rectangle.topRight(),   rectangle.bottomRight());
    767770
    768771    /* Restore painter: */
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