mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +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
@@ -150,9 +150,9 @@ namespace BlackMisc
|
||||
return rfs;
|
||||
}
|
||||
|
||||
QString CArtifactList::getLatestVersionString() const
|
||||
QString CArtifactList::getLatestVersion() const
|
||||
{
|
||||
return this->getLatestArtifactOrDefault().getVersionString();
|
||||
return this->getLatestArtifactOrDefault().getVersion();
|
||||
}
|
||||
|
||||
QVersionNumber CArtifactList::getLatestQVersion() const
|
||||
@@ -182,9 +182,9 @@ namespace BlackMisc
|
||||
QStringList versions;
|
||||
for (const CArtifact &artifact : as_const(copy))
|
||||
{
|
||||
if (artifact.hasVersionString())
|
||||
if (artifact.hasVersion())
|
||||
{
|
||||
versions.push_back(artifact.getVersionString());
|
||||
versions.push_back(artifact.getVersion());
|
||||
}
|
||||
}
|
||||
return versions;
|
||||
|
||||
Reference in New Issue
Block a user