GitLab: Support unsecure http as well

Change-Id: Idfb4faf1cbfbfd6c2914b057e6c76461de0ceeff
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Stenger
2022-06-03 10:21:00 +02:00
parent 6674e5f267
commit fdb413c9a7
8 changed files with 36 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ public:
GitLabServer(); // TODO different protocol handling e.g. for clone / push?
GitLabServer(const Utils::Id &id, const QString &host, const QString &description,
const QString &token, unsigned short port);;
const QString &token, unsigned short port, bool secure);
bool operator==(const GitLabServer &other) const;
bool operator!=(const GitLabServer &other) const;
QJsonObject toJson() const;
@@ -56,6 +56,7 @@ public:
QString token;
unsigned short port = 0;
bool secure = true;
bool validateCert = true; // TODO
};