-rw-r--r-- | noncore/decorations/flat/flat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/decorations/flat/flat.cpp b/noncore/decorations/flat/flat.cpp index a2f12be..9a670cc 100644 --- a/noncore/decorations/flat/flat.cpp +++ b/noncore/decorations/flat/flat.cpp | |||
@@ -285,9 +285,9 @@ void FlatDecoration::drawArea( Area a, QPainter *p, const WindowData *wd ) const | |||
285 | break; | 285 | break; |
286 | } | 286 | } |
287 | } | 287 | } |
288 | 288 | ||
289 | void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, int x, int y, int w, int h, QWSButton::State state ) const | 289 | void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, int x, int y, int, int, QWSButton::State state ) const |
290 | { | 290 | { |
291 | QColor c; | 291 | QColor c; |
292 | const QColorGroup &cg = wd->palette.active(); | 292 | const QColorGroup &cg = wd->palette.active(); |
293 | if ( wd->flags & WindowDecorationInterface::WindowData::Active ) | 293 | if ( wd->flags & WindowDecorationInterface::WindowData::Active ) |
@@ -320,9 +320,9 @@ void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, in | |||
320 | img = new QImage( scaleButton(tmp,th) ); | 320 | img = new QImage( scaleButton(tmp,th) ); |
321 | FlatDecoration *that = (FlatDecoration *)this; | 321 | FlatDecoration *that = (FlatDecoration *)this; |
322 | that->buttonCache.insert( key, img, 1 ); | 322 | that->buttonCache.insert( key, img, 1 ); |
323 | } | 323 | } |
324 | 324 | ||
325 | p->drawImage( x, y, *img ); | 325 | p->drawImage( x, y, *img ); |
326 | } | 326 | } |
327 | 327 | ||
328 | QRegion FlatDecoration::mask( const WindowData *wd ) const | 328 | QRegion FlatDecoration::mask( const WindowData *wd ) const |