diff --git a/kstyle/breezehelper.cpp b/kstyle/breezehelper.cpp index e81ee613..925caf1b 100644 --- a/kstyle/breezehelper.cpp +++ b/kstyle/breezehelper.cpp @@ -1234,7 +1234,7 @@ namespace Breeze } //______________________________________________________________________________ - void Helper::renderButton( QPainter* painter, const QRect& rect, const QColor& color, ButtonType buttonType, bool inverted ) const + void Helper::renderDecorationButton( QPainter* painter, const QRect& rect, const QColor& color, ButtonType buttonType, bool inverted ) const { painter->save(); diff --git a/kstyle/breezehelper.h b/kstyle/breezehelper.h index 87228863..f2c37541 100644 --- a/kstyle/breezehelper.h +++ b/kstyle/breezehelper.h @@ -236,7 +236,7 @@ namespace Breeze void renderArrow( QPainter*, const QRect&, const QColor&, ArrowOrientation ) const; //* generic button (for mdi decorations, tabs and dock widgets) - void renderButton( QPainter*, const QRect&, const QColor&, ButtonType, bool inverted ) const; + void renderDecorationButton( QPainter*, const QRect&, const QColor&, ButtonType, bool inverted ) const; //@} diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index c3f0916a..86f6ec0b 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -6303,7 +6303,7 @@ namespace Breeze // create painter and render QPainter painter( &pixmap ); - _helper->renderButton( &painter, pixmap.rect(), iconData._color, buttonType, iconData._inverted ); + _helper->renderDecorationButton( &painter, pixmap.rect(), iconData._color, buttonType, iconData._inverted ); painter.end();