From 6402338ac24bf50647d6524821f6327edb7b3fa2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 26 Feb 2014 16:11:55 +0100 Subject: [PATCH] remove KIcon --- src/shell/interactiveconsole.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shell/interactiveconsole.cpp b/src/shell/interactiveconsole.cpp index f5a103847..856ab5ec0 100644 --- a/src/shell/interactiveconsole.cpp +++ b/src/shell/interactiveconsole.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -44,7 +45,6 @@ #include #include #include -#include #include #include @@ -69,9 +69,9 @@ InteractiveConsole::InteractiveConsole(Plasma::Corona *corona, QWidget *parent) m_loadAction(KStandardAction::open(this, SLOT(openScriptFile()), this)), m_saveAction(KStandardAction::saveAs(this, SLOT(saveScript()), this)), m_clearAction(KStandardAction::clear(this, SLOT(clearEditor()), this)), - m_executeAction(new QAction(KIcon("system-run"), i18n("&Execute"), this)), - m_plasmaAction(new QAction(KIcon("plasma"), i18nc("Toolbar Button to switch to Plasma Scripting Mode", "Plasma"), this)), - m_kwinAction(new QAction(KIcon("kwin"), i18nc("Toolbar Button to switch to KWin Scripting Mode", "KWin"), this)), + m_executeAction(new QAction(QIcon::fromTheme("system-run"), i18n("&Execute"), this)), + m_plasmaAction(new QAction(QIcon::fromTheme("plasma"), i18nc("Toolbar Button to switch to Plasma Scripting Mode", "Plasma"), this)), + m_kwinAction(new QAction(QIcon::fromTheme("kwin"), i18nc("Toolbar Button to switch to KWin Scripting Mode", "KWin"), this)), m_snippetsMenu(new QMenu(i18n("Templates"), this)), m_fileDialog(0), m_mode(PlasmaConsole)