Commit 878f6518 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Minor qstring optimization, use QLatin1Char when possible

parent fe4dd6b7
......@@ -93,7 +93,7 @@ void TestBlogger1::dumpPost(const BlogPost *post)
qDebug() << "# title: " << post->title();
qDebug() << "# content: " << post->content();
qDebug() << "# private: " << post->isPrivate();
qDebug() << "# categories: " << post->categories().join(QLatin1String(" "));
qDebug() << "# categories: " << post->categories().join(QLatin1Char(' '));
qDebug() << "# error: " << post->error();
qDebug() << "# journalId: " << post->journalId();
switch (post->status()) {
......
......@@ -101,7 +101,7 @@ void TestGData::dumpPost(const BlogPost *post)
qDebug() << "# title: " << post->title();
qDebug() << "# content: " << post->content();
qDebug() << "# private: " << post->isPrivate();
qDebug() << "# categories: " << post->categories().join(QLatin1String(" "));
qDebug() << "# categories: " << post->categories().join(QLatin1Char(' '));
qDebug() << "# error: " << post->error();
qDebug() << "# journalId: " << post->journalId();
switch (post->status()) {
......
......@@ -98,7 +98,7 @@ void TestMetaWeblog::dumpPost(const BlogPost *post)
qDebug() << "# title: " << post->title();
qDebug() << "# content: " << post->content();
qDebug() << "# private: " << post->isPrivate();
qDebug() << "# categories: " << post->categories().join(QLatin1String(" "));
qDebug() << "# categories: " << post->categories().join(QLatin1Char(' '));
qDebug() << "# error: " << post->error();
qDebug() << "# journalId: " << post->journalId();
switch (post->status()) {
......
......@@ -98,7 +98,7 @@ void TestMovableType::dumpPost(const BlogPost *post)
qDebug() << "# title: " << post->title();
qDebug() << "# content: " << post->content();
qDebug() << "# private: " << post->isPrivate();
qDebug() << "# categories: " << post->categories().join(QLatin1String(" "));
qDebug() << "# categories: " << post->categories().join(QLatin1Char(' '));
qDebug() << "# error: " << post->error();
qDebug() << "# journalId: " << post->journalId();
qDebug() << "# allowTrackBack: " << post->isTrackBackAllowed();
......
......@@ -95,7 +95,7 @@ void TestWordpressBuggy::dumpPost(const BlogPost *post)
qDebug() << "# title: " << post->title();
qDebug() << "# content: " << post->content();
qDebug() << "# private: " << post->isPrivate();
qDebug() << "# categories: " << post->categories().join(QLatin1String(" "));
qDebug() << "# categories: " << post->categories().join(QLatin1Char(' '));
qDebug() << "# error: " << post->error();
qDebug() << "# journalId: " << post->journalId();
qDebug() << "# allowTrackBack: " << post->isTrackBackAllowed();
......
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