Merge pull request #8944 from Chocobo1/literal

Make use of QStringLiteral
This commit is contained in:
Mike Tzou
2018-05-23 13:23:41 +08:00
committed by GitHub
12 changed files with 34 additions and 46 deletions

View File

@@ -36,7 +36,7 @@
using namespace RSS;
const QString Item::PathSeparator("\\");
const QChar Item::PathSeparator('\\');
Item::Item(const QString &path)
: m_path(path)

View File

@@ -58,7 +58,7 @@ namespace RSS
virtual QJsonValue toJsonValue(bool withData = false) const = 0;
static const QString PathSeparator;
static const QChar PathSeparator;
static bool isValidPath(const QString &path);
static QString joinPath(const QString &path1, const QString &path2);