update: fix release cycle handling; add human readable version string

Origin commit data
------------------
Commit: 87d60639ae
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-29 (Thu, 29 Nov 2018)

Origin message was:
------------------
- update: fix release cycle handling; add human readable version string
This commit is contained in:
vanhofen
2018-11-29 22:47:42 +01:00
parent d946dcd2cb
commit 311f1857fa
7 changed files with 33 additions and 34 deletions

View File

@@ -298,9 +298,9 @@ void CImageInfoNI::paint()
if (version.compare("n/a") != 0)
{
static CFlashVersionInfo versionInfo(version);
std::string releaseCycle = versionInfo.getReleaseCycle();
std::string v = versionInfo.getVersionString();
imageversion.str("");
imageversion << releaseCycle << " (" << versionInfo.getType(true) << ")";
imageversion << v << " (" << versionInfo.getType(true) << ")";
}
#endif