[kcmdeco] KIcon -> QIcon::fromTheme

This commit is contained in:
Martin Gräßlin 2013-10-09 08:38:00 +02:00
parent b150d9ddc1
commit aab6037c4a

View file

@ -25,7 +25,6 @@
#include <QApplication>
#include <QPainter>
#include <QMouseEvent>
#include <kicon.h>
#include <kdecorationfactory.h>
@ -352,7 +351,7 @@ NET::WindowType KDecorationPreviewBridge::windowType(unsigned long) const
QIcon KDecorationPreviewBridge::icon() const
{
return KIcon("xorg");
return QIcon::fromTheme(QStringLiteral("xorg"));
}
QString KDecorationPreviewBridge::caption() const