mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Use smaller type
This commit is contained in:
parent
7bfe08d466
commit
fcbcf4039b
@ -36,7 +36,7 @@
|
||||
|
||||
using namespace RSS;
|
||||
|
||||
const QString Item::PathSeparator("\\");
|
||||
const QChar Item::PathSeparator('\\');
|
||||
|
||||
Item::Item(const QString &path)
|
||||
: m_path(path)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user