Changeset 11572 in vbox
- Timestamp:
- Aug 22, 2008 12:32:15 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35176
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r10462 r11572 182 182 #endif 183 183 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 198 185 ::darwinDisableIconsInMenus(); 199 186 #endif /* Q_WS_MAC */
Note:
See TracChangeset
for help on using the changeset viewer.