mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
Use smaller type
This commit is contained in:
parent
7bfe08d466
commit
fcbcf4039b
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
using namespace RSS;
|
using namespace RSS;
|
||||||
|
|
||||||
const QString Item::PathSeparator("\\");
|
const QChar Item::PathSeparator('\\');
|
||||||
|
|
||||||
Item::Item(const QString &path)
|
Item::Item(const QString &path)
|
||||||
: m_path(path)
|
: m_path(path)
|
||||||
|
@ -58,7 +58,7 @@ namespace RSS
|
|||||||
|
|
||||||
virtual QJsonValue toJsonValue(bool withData = false) const = 0;
|
virtual QJsonValue toJsonValue(bool withData = false) const = 0;
|
||||||
|
|
||||||
static const QString PathSeparator;
|
static const QChar PathSeparator;
|
||||||
|
|
||||||
static bool isValidPath(const QString &path);
|
static bool isValidPath(const QString &path);
|
||||||
static QString joinPath(const QString &path1, const QString &path2);
|
static QString joinPath(const QString &path1, const QString &path2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user