mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Use smaller type
This commit is contained in:
committed by
sledgehammer999
parent
8a414f32a8
commit
ec37732e99
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user