diff --git a/src/dialog/kmknotify.cpp b/src/dialog/kmknotify.cpp index 173202526..b91440ae6 100644 --- a/src/dialog/kmknotify.cpp +++ b/src/dialog/kmknotify.cpp @@ -107,7 +107,7 @@ void KMKnotify::initCombobox() //TODO add other notifyrc here if necessary for (const QString ¬ify : lstNotify) { - const QString fullPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("knotifications5/") + notify); + const QString fullPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QLatin1String("knotifications5/") + notify); if (!fullPath.isEmpty()) { const int slash = fullPath.lastIndexOf(QLatin1Char('/')); diff --git a/src/editor/kmcomposerwin.cpp b/src/editor/kmcomposerwin.cpp index 774878174..176acf603 100644 --- a/src/editor/kmcomposerwin.cpp +++ b/src/editor/kmcomposerwin.cpp @@ -1339,7 +1339,7 @@ void KMComposerWin::initializePluginActions() localEditorManagerActionsType.next(); QList lst = localEditorManagerActionsType.value(); if (!lst.isEmpty()) { - const QString actionlistname = QStringLiteral("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(localEditorManagerActionsType.key()); + const QString actionlistname = QLatin1String("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(localEditorManagerActionsType.key()); hashActions.insert(actionlistname, lst); } } @@ -1348,7 +1348,7 @@ void KMComposerWin::initializePluginActions() localEditorConvertTextManagerActionsType.next(); QList lst = localEditorConvertTextManagerActionsType.value(); if (!lst.isEmpty()) { - const QString actionlistname = QStringLiteral("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(localEditorConvertTextManagerActionsType.key()); + const QString actionlistname = QLatin1String("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(localEditorConvertTextManagerActionsType.key()); if (hashActions.contains(actionlistname)) { lst = hashActions.value(actionlistname) + lst; hashActions.remove(actionlistname); @@ -1358,7 +1358,7 @@ void KMComposerWin::initializePluginActions() } const QList customToolsWidgetActionList = mCustomToolsWidget->actionList(); - const QString actionlistname = QStringLiteral("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(MessageComposer::PluginActionType::Tools); + const QString actionlistname = QLatin1String("kmaileditor") + MessageComposer::PluginActionType::actionXmlExtension(MessageComposer::PluginActionType::Tools); for (KToggleAction *act : customToolsWidgetActionList) { QList lst; lst << act;