VirtualBox

Changeset 2344 in vbox for trunk


Ignore:
Timestamp:
Apr 26, 2007 12:45:13 AM (18 years ago)
Author:
vboxsync
Message:

Fixed ugly pushbutton in the about dialog.

File:
1 edited

Legend:

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

    r2208 r2344  
    3535#include <qeventloop.h>
    3636#include <qregexp.h>
     37#ifdef Q_WS_MAC
     38# include <qpushbutton.h>
     39#endif
    3740
    3841#include <iprt/err.h>
     
    16151618    dlg.txVersions->setText (versions
    16161619                             .arg (COMVersion));
     1620#ifdef Q_WS_MAC
     1621    /*
     1622     * Get rid of the exceedingly ugly pushbutton background.
     1623     * (We should probably consider doing this on all platforms.)
     1624     */
     1625    dlg.buttonOK->setBackgroundOrigin (QWidget::ParentOrigin);
     1626    dlg.buttonOK->setPaletteBackgroundPixmap (*dlg.paletteBackgroundPixmap());
     1627#endif
     1628
    16171629    dlg.exec();
    16181630}
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