mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
Ref T419, use version from IDatastoreObject in CArtifact
* add QVersion * remove version parts from CArtifact
This commit is contained in:
committed by
Mat Sutcliffe
parent
aabc975889
commit
b9c233802f
@@ -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;");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user