From a108ebc846282126337a65c651928b1fa8566d26 Mon Sep 17 00:00:00 2001 From: Jean Claveau Date: Tue, 30 Sep 2014 22:42:55 +0200 Subject: PixmapSource passed by value --- src/widget/wpushbutton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget/wpushbutton.h') diff --git a/src/widget/wpushbutton.h b/src/widget/wpushbutton.h index b37f037e31..6937bf9d21 100644 --- a/src/widget/wpushbutton.h +++ b/src/widget/wpushbutton.h @@ -78,11 +78,11 @@ class WPushButton : public WWidget { private: // Associates a pixmap of a given state of the button with the widget - void setPixmap(int iState, bool bPressed, PixmapSource* source); + void setPixmap(int iState, bool bPressed, PixmapSource source); // Associates a background pixmap with the widget. This is only needed if // the button pixmaps contains alpha channel values. - void setPixmapBackground(PixmapSource* source, + void setPixmapBackground(PixmapSource source, Paintable::DrawMode mode); // True, if the button is currently pressed -- cgit v1.2.3