diff --git a/kcmkwin/kwindecoration/buttons.h b/kcmkwin/kwindecoration/buttons.h index e0715624ee..cce71b54b9 100644 --- a/kcmkwin/kwindecoration/buttons.h +++ b/kcmkwin/kwindecoration/buttons.h @@ -91,7 +91,7 @@ class ButtonDropSiteItem int width(); int height(); - void draw(QPainter *p, const QPalette& cg, QRect rect); + void draw(QPainter *p, const QPalette& cg, const QRect &rect); private: Button m_button;