From dbab8458dcce186e7eb7a114a83f759d7db5445a Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 3 Aug 2010 12:30:27 +0000 Subject: New scripting interface part1. --- client/formatparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/formatparser.cc') diff --git a/client/formatparser.cc b/client/formatparser.cc index 751c83e..62f0b21 100644 --- a/client/formatparser.cc +++ b/client/formatparser.cc @@ -67,7 +67,7 @@ static QString format_parser_pracro(QString format, QVector< Widget *> widgets) QVector< Widget* >::iterator i = widgets.begin(); while (i != widgets.end()) { Widget* w = *i; - if(w->getName() == var) resume += w->getValue(); + if(w->name() == var) resume += w->getValue(); i++; } } -- cgit v1.2.3