diff --git a/widgets/pushbutton.cpp b/widgets/pushbutton.cpp index 060942811..ef2f09b6c 100644 --- a/widgets/pushbutton.cpp +++ b/widgets/pushbutton.cpp @@ -291,7 +291,7 @@ QAction *PushButton::action() const return d->action; } -void PushButton::setIcon(const KIcon &icon) +void PushButton::setIcon(const QIcon &icon) { nativeWidget()->setIcon(icon); } diff --git a/widgets/pushbutton.h b/widgets/pushbutton.h index b1fb36e53..6c280a9ee 100644 --- a/widgets/pushbutton.h +++ b/widgets/pushbutton.h @@ -135,7 +135,7 @@ public: * * @since 4.4 */ - void setIcon(const KIcon &icon); + void setIcon(const QIcon &icon); /** * @return the icon of this button