[kcmdeco] KIcon -> QIcon::fromTheme
parent
b150d9ddc1
commit
aab6037c4a
|
@ -25,7 +25,6 @@
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <kicon.h>
|
|
||||||
|
|
||||||
#include <kdecorationfactory.h>
|
#include <kdecorationfactory.h>
|
||||||
|
|
||||||
|
@ -352,7 +351,7 @@ NET::WindowType KDecorationPreviewBridge::windowType(unsigned long) const
|
||||||
|
|
||||||
QIcon KDecorationPreviewBridge::icon() const
|
QIcon KDecorationPreviewBridge::icon() const
|
||||||
{
|
{
|
||||||
return KIcon("xorg");
|
return QIcon::fromTheme(QStringLiteral("xorg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
QString KDecorationPreviewBridge::caption() const
|
QString KDecorationPreviewBridge::caption() const
|
||||||
|
|
Loading…
Reference in New Issue