integrada la nueva versi?n de qtwebapp

This commit is contained in:
Luis Ángel San Martín
2012-09-09 15:41:34 +02:00
parent a39cc616f6
commit d123df4f53
15 changed files with 89 additions and 74 deletions

View File

@ -33,7 +33,7 @@ int Template::setVariable(QString name, QString value) {
while (start>=0) {
replace(start, variable.length(), value);
count++;
start=indexOf(variable,start+variable.length());
start=indexOf(variable,start+value.length());
}
if (count==0 && warnings) {
qWarning("Template: missing variable %s in %s",qPrintable(variable),qPrintable(sourceName));