Use smaller type

This commit is contained in:
Chocobo1 2018-05-17 10:55:50 +08:00
parent 7bfe08d466
commit fcbcf4039b
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 2 additions and 2 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);