--deprecation warnings

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841644
This commit is contained in:
Aaron J. Seigo 2008-08-03 19:50:45 +00:00
parent 5bc2abcb3e
commit bfb9e05b91

View File

@ -19,14 +19,15 @@
#include "pushbutton.h"
#include <KPushButton>
#include <QStyleOptionGraphicsItem>
#include <QPainter>
#include <QDir>
#include <QApplication>
#include <KMimeType>
#include <KIcon>
#include <KIconEffect>
#include <KMimeType>
#include <KPushButton>
#include "theme.h"
#include "svg.h"
@ -70,7 +71,7 @@ public:
pm = QPixmap(absImagePath);
}
static_cast<KPushButton*>(q->widget())->setIcon(QIcon(pm));
static_cast<KPushButton*>(q->widget())->setIcon(KIcon(pm));
}
void renderActiveBackgroundPixmap();