VirtualBox

Changeset 6659 in vbox


Ignore:
Timestamp:
Jan 31, 2008 2:47:26 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27728
Message:

Mac OS X: Added setBackgroundMode (Qt::PaletteBackground) after switching back from fullscreen to correctly restore the background pixmap on Mac OS X.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h

    r6603 r6659  
    323323    QObjectList hidden_children;
    324324    int console_style;
    325     QColor erase_color;
     325    QColor mEraseColor;
    326326
    327327    bool mIsOpenViewFinished : 1;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r6649 r6659  
    20692069
    20702070        /* Adjust colors and appearance. */
    2071         erase_color = centralWidget()->eraseColor();
     2071        mEraseColor = centralWidget()->eraseColor();
    20722072        centralWidget()->setEraseColor (black);
    20732073        console_style = console->frameStyle();
     
    21562156        /* Adjust colors and appearance. */
    21572157        clearMask();
    2158         centralWidget()->setEraseColor (erase_color);
     2158        centralWidget()->setEraseColor (mEraseColor);
     2159        centralWidget()->setBackgroundMode (Qt::PaletteBackground);
    21592160        console->setFrameStyle (console_style);
    21602161        console->setMaximumSize (console->sizeHint());
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