diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-09-12 13:02:43 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-09-12 13:15:54 +0200 |
| commit | 4de8cf43e62e23b766d9d457e060670401ce6128 (patch) | |
| tree | da56202877e50acbaac6c07c903d467460f70673 /src/views/dolphinremoteencoding.cpp | |
| parent | b111b1482ad7f2fe7989e3ee53ddfe04eb73fa9c (diff) | |
Ported KIcon to QIcon
REVIEW: 120159
Diffstat (limited to 'src/views/dolphinremoteencoding.cpp')
| -rw-r--r-- | src/views/dolphinremoteencoding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index ceb189494..9a1560003 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -29,7 +29,7 @@ #include <KDebug> #include <KActionMenu> #include <KActionCollection> -#include <KIcon> +#include <QIcon> #include <KLocale> #include <KGlobal> #include <KMimeType> @@ -49,7 +49,7 @@ DolphinRemoteEncoding::DolphinRemoteEncoding(QObject* parent, DolphinViewActionH m_loaded(false), m_idDefault(0) { - m_menu = new KActionMenu(KIcon("character-set"), i18n("Select Remote Charset"), this); + m_menu = new KActionMenu(QIcon::fromTheme("character-set"), i18n("Select Remote Charset"), this); m_actionHandler->actionCollection()->addAction("change_remote_encoding", m_menu); connect(m_menu->menu(), &QMenu::aboutToShow, this, &DolphinRemoteEncoding::slotAboutToShow); |
