-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 @@ -286,7 +286,7 @@ void FlatDecoration::drawArea( Area a, QPainter *p, const WindowData *wd ) const } } -void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, int x, int y, int w, int h, QWSButton::State state ) const +void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, int x, int y, int, int, QWSButton::State state ) const { QColor c; const QColorGroup &cg = wd->palette.active(); @@ -321,7 +321,7 @@ void FlatDecoration::drawButton( Button b, QPainter *p, const WindowData *wd, in FlatDecoration *that = (FlatDecoration *)this; that->buttonCache.insert( key, img, 1 ); } - + p->drawImage( x, y, *img ); } |