summaryrefslogtreecommitdiff
path: root/client/formatparser.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-03 12:30:27 +0000
committerdeva <deva>2010-08-03 12:30:27 +0000
commitdbab8458dcce186e7eb7a114a83f759d7db5445a (patch)
tree5abbd9e97b17a0e8321adea983594d818157e8e2 /client/formatparser.cc
parentd285c1bdb79752ef23a7252c9c2d9f408f0c9f49 (diff)
New scripting interface part1.
Diffstat (limited to 'client/formatparser.cc')
-rw-r--r--client/formatparser.cc2
1 files changed, 1 insertions, 1 deletions
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++;
}
}