Fixed some QIcon and kiconloader compile errors for Plasma
Reviewed by: Kevin Ottens
This commit is contained in:
parent
af211f7c93
commit
a69cb53cc5
@ -32,6 +32,7 @@
|
||||
#include <kservicetypetrader.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <klocale.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#include "package.h"
|
||||
#include "pluginloader.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <QFile>
|
||||
|
||||
#include <kstandarddirs.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#ifndef PLASMA_NO_KIO
|
||||
#include <krun.h>
|
||||
|
@ -98,7 +98,7 @@ public:
|
||||
pm = QPixmap(absImagePath);
|
||||
}
|
||||
|
||||
static_cast<KPushButton*>(q->widget())->setIcon(KDE::icon(pm));
|
||||
static_cast<KPushButton*>(q->widget())->setIcon(QIcon(pm));
|
||||
}
|
||||
|
||||
void pressedChanged()
|
||||
|
@ -94,7 +94,7 @@ public:
|
||||
pm = QPixmap(absImagePath);
|
||||
}
|
||||
|
||||
static_cast<QToolButton*>(q->widget())->setIcon(KDE::icon(pm));
|
||||
static_cast<QToolButton*>(q->widget())->setIcon(QIcon(pm));
|
||||
}
|
||||
|
||||
void syncActiveRect();
|
||||
|
Loading…
Reference in New Issue
Block a user