[kcmdeco] KIcon -> QIcon::fromTheme

This commit is contained in:
Martin Gräßlin 2013-10-01 08:05:23 +02:00
parent 2ff2164ba0
commit a4f55070f2

View file

@ -85,9 +85,9 @@ KWinDecorationModule::KWinDecorationModule(QWidget* parent, const QVariantList &
{ {
qmlRegisterType<Aurorae::AuroraeTheme>("org.kde.kwin.aurorae", 0, 1, "AuroraeTheme"); qmlRegisterType<Aurorae::AuroraeTheme>("org.kde.kwin.aurorae", 0, 1, "AuroraeTheme");
m_ui = new KWinDecorationForm(this); m_ui = new KWinDecorationForm(this);
m_ui->configureDecorationButton->setIcon(KIcon("configure")); m_ui->configureDecorationButton->setIcon(QIcon::fromTheme("configure"));
m_ui->configureButtonsButton->setIcon(KIcon("configure")); m_ui->configureButtonsButton->setIcon(QIcon::fromTheme("configure"));
m_ui->ghnsButton->setIcon(KIcon("get-hot-new-stuff")); m_ui->ghnsButton->setIcon(QIcon::fromTheme("get-hot-new-stuff"));
QVBoxLayout* layout = new QVBoxLayout(this); QVBoxLayout* layout = new QVBoxLayout(this);
layout->addWidget(m_ui); layout->addWidget(m_ui);