VirtualBox

Changeset 35078 in vbox


Ignore:
Timestamp:
Dec 14, 2010 1:42:28 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Fix replacement for r68895 (mini-toolbar kde bug).

File:
1 edited

Legend:

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

    r35064 r35078  
    126126    /* Enable mouse-tracking for this & children allowing to get mouse-move events: */
    127127    setMouseTrackingEnabled(m_fAutoHide);
    128 
    129     /* Auto-fill background to make it use own color: */
    130     setAutoFillBackground(true);
    131128}
    132129
     
    358355    QPainter painter;
    359356    painter.begin(this);
    360     painter.fillRect(pEvent->rect(), palette().brush(QPalette::Window));
     357    painter.fillRect(pEvent->rect(), QApplication::palette().color(QPalette::Active, QPalette::Window));
    361358    painter.end();
    362359    /* Base-class paint event processing: */
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