Axivion: Use version name for display

This is in line with other axivion plugins and the
expected way of displaying versions.

Change-Id: Idda8233a536a50b526d5927a5b5d2021aea3f3c5
Reviewed-by: Mohammad Mehdi Salem Naraghi <mehdi.salem@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Christian Stenger
2024-08-02 06:15:52 +02:00
parent c1be903000
commit 782e7326e1

View File

@@ -644,7 +644,7 @@ void IssuesWidget::updateBasicProjectInfo(const std::optional<Dto::ProjectInfoDt
const std::vector<Dto::AnalysisVersionDto> &versions = info->versions; const std::vector<Dto::AnalysisVersionDto> &versions = info->versions;
for (auto it = versions.crbegin(); it != versions.crend(); ++it) { for (auto it = versions.crbegin(); it != versions.crend(); ++it) {
const Dto::AnalysisVersionDto &version = *it; const Dto::AnalysisVersionDto &version = *it;
versionLabels.append(version.label.value_or(version.name)); versionLabels.append(version.name);
m_versionDates.append(version.date); m_versionDates.append(version.date);
} }
m_versionStart->addItems(versionLabels); m_versionStart->addItems(versionLabels);