From bfb9e05b91e8017ce6addac7e6cef33668ca1ede Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 3 Aug 2008 19:50:45 +0000 Subject: [PATCH] --deprecation warnings svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841644 --- widgets/pushbutton.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/widgets/pushbutton.cpp b/widgets/pushbutton.cpp index 509bb3991..8e5deaffc 100644 --- a/widgets/pushbutton.cpp +++ b/widgets/pushbutton.cpp @@ -19,14 +19,15 @@ #include "pushbutton.h" -#include #include #include #include #include -#include +#include #include +#include +#include #include "theme.h" #include "svg.h" @@ -70,7 +71,7 @@ public: pm = QPixmap(absImagePath); } - static_cast(q->widget())->setIcon(QIcon(pm)); + static_cast(q->widget())->setIcon(KIcon(pm)); } void renderActiveBackgroundPixmap();