author | zecke <zecke> | 2004-09-10 11:14:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:14:02 (UTC) |
commit | b8baf551919868737c6f56a05e6efa1bad4d97ac (patch) (side-by-side diff) | |
tree | 402c587e55356aff7f13990e1efcf57775bb9670 /noncore/decorations | |
parent | 046bff8abb6727f5522748a2dc8a259d27b5979b (diff) | |
download | opie-b8baf551919868737c6f56a05e6efa1bad4d97ac.zip opie-b8baf551919868737c6f56a05e6efa1bad4d97ac.tar.gz opie-b8baf551919868737c6f56a05e6efa1bad4d97ac.tar.bz2 |
Remove unused parameter
-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 ); } |