imageinfo: outsource support info init into own member

Origin commit data
------------------
Commit: a82726c86a
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-10-26 (Mon, 26 Oct 2020)
This commit is contained in:
2020-10-26 21:50:08 +01:00
committed by vanhofen
parent f26a6adc26
commit c26f93d2ff
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();