mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Make Path::operator== a free function
This commit is contained in:
@@ -76,7 +76,6 @@ public:
|
||||
static void stripRootFolder(PathList &filePaths);
|
||||
static void addRootFolder(PathList &filePaths, const Path &rootFolder);
|
||||
|
||||
friend bool operator==(const Path &lhs, const Path &rhs);
|
||||
friend Path operator/(const Path &lhs, const Path &rhs);
|
||||
friend Path operator+(const Path &lhs, const QString &rhs);
|
||||
|
||||
@@ -90,6 +89,7 @@ private:
|
||||
|
||||
Q_DECLARE_METATYPE(Path)
|
||||
|
||||
bool operator==(const Path &lhs, const Path &rhs);
|
||||
bool operator!=(const Path &lhs, const Path &rhs);
|
||||
Path operator+(const Path &lhs, const char rhs[]);
|
||||
Path operator+(const Path &lhs, const std::string &rhs);
|
||||
|
||||
Reference in New Issue
Block a user