Add comparison operators for ProxyConfiguration

This commit is contained in:
Chocobo1
2019-06-16 16:55:58 +08:00
parent 623210df58
commit 3b015db77d
2 changed files with 16 additions and 9 deletions

View File

@@ -51,6 +51,8 @@ namespace Net
QString username;
QString password;
};
bool operator==(const ProxyConfiguration &left, const ProxyConfiguration &right);
bool operator!=(const ProxyConfiguration &left, const ProxyConfiguration &right);
class ProxyConfigurationManager : public QObject
{