Changeset 9339 in vbox for trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
- Timestamp:
- Jun 3, 2008 7:59:24 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r8915 r9339 181 181 #endif 182 182 183 #ifndef RT_OS_DARWIN183 #ifndef Q_WS_MAC 184 184 /* some gui qt-styles has it's own different color for buttons 185 185 * causing tool-buttons and dropped menu displayed in 186 186 * different annoying color, so fixing palette button's color */ 187 #warning "port me: any longer required?" 187 188 QPalette pal = a.palette(); 188 189 pal.setColor (QPalette::Disabled, QColorGroup::Button, … … 193 194 pal.color (QPalette::Inactive, QColorGroup::Background)); 194 195 a.setPalette (pal); 195 #endif 196 #else /* !Q_WS_MAC */ 197 /* No icons in the menu of a mac application. */ 198 a.setAttribute (Qt::AA_DontShowIconsInMenus, true); 199 #endif /* Q_WS_MAC */ 196 200 197 201 #ifdef Q_WS_X11
Note:
See TracChangeset
for help on using the changeset viewer.