Ref T419, use version from IDatastoreObject in CArtifact

* add QVersion
* remove version parts from CArtifact
This commit is contained in:
Klaus Basan
2019-03-04 22:36:59 +01:00
committed by Mat Sutcliffe
parent aabc975889
commit b9c233802f
7 changed files with 22 additions and 28 deletions

View File

@@ -229,7 +229,7 @@ void CSwiftLauncher::setHeaderInfo(const CArtifact &latestArtifact)
{
static const QString t("New version '%1' ['%2'/'%3']");
ui->lbl_HeaderInfo->setText(
t.arg(latestArtifact.getVersionString(), latestArtifact.getPlatform().getPlatformName(),
t.arg(latestArtifact.getVersion(), latestArtifact.getPlatform().getPlatformName(),
latestArtifact.getMostStableDistribution().getChannel()));
ui->lbl_HeaderInfo->setStyleSheet("background: red; color: yellow;");
}