imageinfo: outsource support info init into own member

Origin commit data
------------------
Branch: ni/coolstream
Commit: a82726c86a
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-10-26 (Mon, 26 Oct 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2020-10-26 21:50:08 +01:00
committed by vanhofen
parent 8babbbd007
commit 2a7d3f1059
2 changed files with 7 additions and 0 deletions

View File

@@ -389,6 +389,12 @@ void CImageInfo::InitInfoData()
//internal api versions
initAPIVersions();
//support infos
initSupportInfo();
}
void CImageInfo::initSupportInfo()
{
//www
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_HOMEPAGE), config.getString("homepage", PACKAGE_URL)});
//doc

View File

@@ -59,6 +59,7 @@ class CImageInfo : public CMenuTarget
void InitInfos();
void InitBuildInfos();
void InitInfoText(const std::string& text);
void initSupportInfo();
void initAPIVersions();
std::string getLicenseText();
std::string getPolicyText();