Commit 90f826ed authored by Laurent Montel's avatar Laurent Montel 😁

Use QStringLiteral

parent d83ec12c
......@@ -68,7 +68,7 @@ void AutomaticAddContactsConfigureTab::saveSettings()
{
KSharedConfig::Ptr config = KSharedConfig::openConfig();
// first, delete all filter groups:
const QStringList filterGroups = config->groupList().filter(QRegularExpression(QLatin1String("Automatic Add Contacts \\d+")));
const QStringList filterGroups = config->groupList().filter(QRegularExpression(QStringLiteral("Automatic Add Contacts \\d+")));
Q_FOREACH (const QString &group, filterGroups) {
config->deleteGroup(group);
}
......
......@@ -59,7 +59,7 @@ void ConfirmAddressConfigureWidget::saveSettings()
{
KSharedConfig::Ptr config = KSharedConfig::openConfig();
// first, delete all filter groups:
const QStringList filterGroups = config->groupList().filter(QRegularExpression(QLatin1String("Confirm Address \\d+")));
const QStringList filterGroups = config->groupList().filter(QRegularExpression(QStringLiteral("Confirm Address \\d+")));
Q_FOREACH (const QString &group, filterGroups) {
config->deleteGroup(group);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment