[kcmdeco] KIcon -> QIcon::fromTheme
This commit is contained in:
parent
2ff2164ba0
commit
a4f55070f2
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue