mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Changed: Replace more variables, see #279
This commit is contained in:
parent
6e169732a1
commit
3d2c4d3f83
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue