VirtualBox

Changeset 11572 in vbox


Ignore:
Timestamp:
Aug 22, 2008 12:32:15 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35176
Message:

Fe/Qt4: Cleaning main.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp

    r10462 r11572  
    182182#endif
    183183
    184 #ifndef Q_WS_MAC
    185         /* some gui qt-styles has it's own different color for buttons
    186          * causing tool-buttons and dropped menu displayed in
    187          * different annoying color, so fixing palette button's color */
    188 //#warning "port me: any longer required?"
    189 //        QPalette pal = a.palette();
    190 //        pal.setColor (QPalette::Disabled, QColorGroup::Button,
    191 //                      pal.color (QPalette::Disabled, QColorGroup::Background));
    192 //        pal.setColor (QPalette::Active, QColorGroup::Button,
    193 //                      pal.color (QPalette::Active, QColorGroup::Background));
    194 //        pal.setColor (QPalette::Inactive, QColorGroup::Button,
    195 //                      pal.color (QPalette::Inactive, QColorGroup::Background));
    196 //        a.setPalette (pal);
    197 #else /* !Q_WS_MAC */
     184#ifdef Q_WS_MAC
    198185        ::darwinDisableIconsInMenus();
    199186#endif /* Q_WS_MAC */
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