mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Use smaller type
This commit is contained in:
parent
8a414f32a8
commit
ec37732e99
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue