┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinremoteencoding.cpp
diff options
context:
space:
mode:
authorArtur Puzio <[email protected]>2016-03-16 22:17:37 +0100
committerEmmanuel Pescosta <[email protected]>2016-03-16 22:17:37 +0100
commit5593c252e8d9638c86dcc2bb9edd394ea14f8ba1 (patch)
tree486e7f04fa43758ab3011d75227e2d9791db4014 /src/views/dolphinremoteencoding.cpp
parent59811f849ed47982f5cf73e052640bc9f250ad97 (diff)
[CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
Diffstat (limited to 'src/views/dolphinremoteencoding.cpp')
-rw-r--r--src/views/dolphinremoteencoding.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp
index 961a7c800..116168a4b 100644
--- a/src/views/dolphinremoteencoding.cpp
+++ b/src/views/dolphinremoteencoding.cpp
@@ -39,7 +39,7 @@
#include <KIO/Scheduler>
#include <KConfigGroup>
-#define DATA_KEY QLatin1String("Charset")
+#define DATA_KEY QStringLiteral("Charset")
DolphinRemoteEncoding::DolphinRemoteEncoding(QObject* parent, DolphinViewActionHandler* actionHandler)
:QObject(parent),
@@ -47,8 +47,8 @@ DolphinRemoteEncoding::DolphinRemoteEncoding(QObject* parent, DolphinViewActionH
m_loaded(false),
m_idDefault(0)
{
- m_menu = new KActionMenu(QIcon::fromTheme("character-set"), i18n("Select Remote Charset"), this);
- m_actionHandler->actionCollection()->addAction("change_remote_encoding", m_menu);
+ m_menu = new KActionMenu(QIcon::fromTheme(QStringLiteral("character-set")), i18n("Select Remote Charset"), this);
+ m_actionHandler->actionCollection()->addAction(QStringLiteral("change_remote_encoding"), m_menu);
connect(m_menu->menu(), &QMenu::aboutToShow,
this, &DolphinRemoteEncoding::slotAboutToShow);
@@ -206,7 +206,7 @@ void DolphinRemoteEncoding::slotDefault()
break;
}
- domains << partList.join(".");
+ domains << partList.join(QLatin1Char('.'));
partList.erase(partList.begin());
}