Changeset 2316 in vbox for trunk/src/VBox
- Timestamp:
- Apr 23, 2007 11:16:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/QIStateIndicator.cpp
r382 r2316 79 79 if (testWFlags (WNoAutoErase)) { 80 80 icon = new QPixmap (pm.size()); 81 icon->fill (paletteBackgroundColor()); 81 #ifdef Q_WS_MAC /* the background color isn't the pattern used for the console window frame */ 82 const QPixmap *back = backgroundPixmap(); 83 if (back) /* Is ClearROP right? I've no clue about raster operations... */ 84 bitBlt (icon, 0, 0, back, 0, 0, pm.width(), pm.height(), ClearROP, false); 85 else 86 #endif 87 icon->fill (paletteBackgroundColor()); 82 88 bitBlt (icon, 0, 0, &pm, 0, 0, pm.width(), pm.height(), CopyROP, false); 83 89 } else {
Note:
See TracChangeset
for help on using the changeset viewer.