From db1a7fbad372461a7678088d01104ad2c2f42b2b Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 25 Jul 2016 18:32:15 +0200 Subject: [PATCH] Changed: Replace more variables, see #279 --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/configfile.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp index 07529f4c7..281d38bbf 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp @@ -542,6 +542,11 @@ QString CConfigFile::expandVariables(const QString &str) const res.replace("$TIMESTAMP", QString::number(QDateTime::currentDateTime().toTime_t())); res.replace("$LANG", m_language); res.replace("$ARCH", getClientArch()); + res.replace("$PRODUCT_NAME", m_productName); + res.replace("$PRODUCT_PUBLISHER", m_productPublisher); + res.replace("$PRODUCT_ABOUT_URL", m_productAboutUrl); + res.replace("$PRODUCT_HELP_URL", m_productHelpUrl); + res.replace("$PRODUCT_COMMENTS", m_productComments); return res; }