Commit d516a4dc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some clazy warning

parent aa848fe9
......@@ -100,7 +100,7 @@ private Q_SLOTS:
fakeServer.setScenario(scenario);
fakeServer.startAndWait();
KIMAP::Session session(QLatin1String("127.0.0.1"), 5989);
KIMAP::Session session(QStringLiteral("127.0.0.1"), 5989);
KIMAP::SearchJob *job = new KIMAP::SearchJob(&session);
job->setUidBased(uidbased);
......
......@@ -235,7 +235,7 @@ void testAppendAndStore(Session *session)
qDebug() << "Append a message in INBOX/TestFolder...";
AppendJob *append = new AppendJob(session);
append->setMailBox(QLatin1String("INBOX/TestFolder"));
append->setMailBox(QStringLiteral("INBOX/TestFolder"));
append->setContent(testMailContent);
append->exec();
Q_ASSERT_X(append->error() == 0, "AppendJob", append->errorString().toLocal8Bit().constData());
......@@ -483,7 +483,7 @@ int main(int argc, char **argv)
qDebug() << "Selecting INBOX:";
SelectJob *select = new SelectJob(&session);
select->setMailBox(QLatin1String("INBOX"));
select->setMailBox(QStringLiteral("INBOX"));
select->exec();
Q_ASSERT_X(select->error() == 0, "SelectJob", select->errorString().toLocal8Bit().constData());
Q_ASSERT(session.state() == Session::Selected);
......
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