aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gitlab/gitlabprojectsettings.cpp
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2022-06-03 10:21:00 +0200
committerChristian Stenger <[email protected]>2022-06-10 12:27:30 +0000
commitfdb413c9a7654f652e8770fde7ae8a574219f333 (patch)
tree128a654a436548bb96186e133e057e15a5ffbe9c /src/plugins/gitlab/gitlabprojectsettings.cpp
parent6674e5f267ea15d162136033c70cac1bf730692e (diff)
GitLab: Support unsecure http as well
Change-Id: Idfb4faf1cbfbfd6c2914b057e6c76461de0ceeff Reviewed-by: David Schulz <[email protected]> Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/gitlab/gitlabprojectsettings.cpp')
-rw-r--r--src/plugins/gitlab/gitlabprojectsettings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gitlab/gitlabprojectsettings.cpp b/src/plugins/gitlab/gitlabprojectsettings.cpp
index 5f8532d99e9..35419ca6679 100644
--- a/src/plugins/gitlab/gitlabprojectsettings.cpp
+++ b/src/plugins/gitlab/gitlabprojectsettings.cpp
@@ -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);