forked from qt-creator/qt-creator
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:
@@ -233,7 +233,8 @@ void GitLabProjectSettingsWidget::onConnectionChecked(const Project &project,
|
||||
bool linkable = false;
|
||||
if (!project.error.message.isEmpty()) {
|
||||
m_infoLabel->setType(Utils::InfoLabel::Error);
|
||||
m_infoLabel->setText(project.error.message);
|
||||
m_infoLabel->setText(tr("Check settings for misconfiguration.")
|
||||
+ " (" + project.error.message + ')');
|
||||
} else {
|
||||
if (project.accessLevel != -1) {
|
||||
m_infoLabel->setType(Utils::InfoLabel::Ok);
|
||||
|
||||
Reference in New Issue
Block a user