Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5fddeadc authored by Laurent Montel's avatar Laurent Montel 😁

Add "/" directly

parent f20d63fe
......@@ -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);
......
......@@ -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) {
......
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