Changeset View
Changeset View
Standalone View
Standalone View
kstyle/animations/breezetransitionwidget.cpp
Show First 20 Lines • Show All 297 Lines • ▼ Show 20 Line(s) | 279 | { | |||
---|---|---|---|---|---|
298 | { | 298 | { | ||
299 | p.setCompositionMode(QPainter::CompositionMode_DestinationIn); | 299 | p.setCompositionMode(QPainter::CompositionMode_DestinationIn); | ||
300 | QColor color( Qt::black ); | 300 | QColor color( Qt::black ); | ||
301 | color.setAlphaF( opacity ); | 301 | color.setAlphaF( opacity ); | ||
302 | p.fillRect(rect, color ); | 302 | p.fillRect(rect, color ); | ||
303 | } | 303 | } | ||
304 | 304 | | |||
305 | p.end(); | 305 | p.end(); | ||
306 | return; | | |||
307 | } | 306 | } | ||
308 | 307 | | |||
309 | } | 308 | } |