summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-07 07:13:17 +0100
committerMontel Laurent <[email protected]>2017-12-07 07:13:17 +0100
commit5fddeadc8ba038d658d3ec869f8b556fe5a5e50f (patch)
tree8ef483d71a435dc783e8a087bfbc8318a9734ed7
parentf20d63fe3207ce43a12d57a39ff76a6ff25cdff7 (diff)
Add "/" directly
-rw-r--r--agents/invitations/invitationsagent.cpp2
-rw-r--r--resources/maildir/libmaildir/autotests/testmaildir.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/agents/invitations/invitationsagent.cpp b/agents/invitations/invitationsagent.cpp
index 61797a2..6af04b8 100644
--- a/agents/invitations/invitationsagent.cpp
+++ b/agents/invitations/invitationsagent.cpp
@@ -65,7 +65,7 @@ public:
setDefaultResourceType(QStringLiteral("akonadi_ical_resource"));
QVariantMap options;
- options.insert(QStringLiteral("Path"), QString(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QLatin1Char('/') + QStringLiteral("akonadi_invitations")));
+ options.insert(QStringLiteral("Path"), QString(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/akonadi_invitations")));
options.insert(QStringLiteral("Name"), i18n("Invitations"));
setDefaultResourceOptions(options);
diff --git a/resources/maildir/libmaildir/autotests/testmaildir.cpp b/resources/maildir/libmaildir/autotests/testmaildir.cpp
index 23f7523..6e6cbf3 100644
--- a/resources/maildir/libmaildir/autotests/testmaildir.cpp
+++ b/resources/maildir/libmaildir/autotests/testmaildir.cpp
@@ -337,7 +337,7 @@ void MaildirTest::testMaildirFlagsReading()
{
QFile file;
const QStringList markers = QStringList() << QStringLiteral("P") << QStringLiteral("R") << QStringLiteral("S") << QStringLiteral("F") << QStringLiteral("FPRS");
- QDir::setCurrent(m_temp->path() + QLatin1Char('/') + QStringLiteral("cur"));
+ QDir::setCurrent(m_temp->path() + QStringLiteral("/cur"));
for (int i = 0; i < 6; i++) {
QString fileName = QLatin1String("testmail-") + QString::number(i);
if (i < 5) {