From 97c2e02697ba90d2339a905b7ad81aa883dca7a5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 22 Dec 2015 19:27:08 +0100 Subject: Avoid using QDir::separator It really doesn't help us in assembling paths since qt deals with forward slashes just fine --- tests/maildirresourcetest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index c415a54..b16f883 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp @@ -55,7 +55,7 @@ private Q_SLOTS: void initTestCase() { QVERIFY(tempDir.isValid()); - auto targetPath = tempDir.path() + QDir::separator() + "maildir1/"; + auto targetPath = tempDir.path() + "/maildir1/"; copyRecursively(TESTDATAPATH "/maildir1", targetPath); Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Trace); @@ -181,7 +181,7 @@ private Q_SLOTS: //Ensure all local data is processed Akonadi2::Store::synchronize(query).exec().waitForFinished(); - auto targetPath = tempDir.path() + QDir::separator() + "maildir1/"; + auto targetPath = tempDir.path() + "/maildir1/"; QDir dir(targetPath); QVERIFY(dir.rename("inbox", "newbox")); -- cgit v1.2.3