diff options
author | deva <deva> | 2010-08-03 12:30:27 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-03 12:30:27 +0000 |
commit | dbab8458dcce186e7eb7a114a83f759d7db5445a (patch) | |
tree | 5abbd9e97b17a0e8321adea983594d818157e8e2 /client/widgets/metawidget.cc | |
parent | d285c1bdb79752ef23a7252c9c2d9f408f0c9f49 (diff) |
New scripting interface part1.
Diffstat (limited to 'client/widgets/metawidget.cc')
-rw-r--r-- | client/widgets/metawidget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/metawidget.cc b/client/widgets/metawidget.cc index 5491790..5933212 100644 --- a/client/widgets/metawidget.cc +++ b/client/widgets/metawidget.cc @@ -68,7 +68,7 @@ MetaWidget::MetaWidget(QDomNode &node, MacroWindow *macrowindow) while (i != widgets.end()) { Widget* w = *i; if(format != "") format += ", "; - format += "${" + w->getName() + "}"; + format += "${" + w->name() + "}"; i++; } } @@ -121,7 +121,7 @@ bool MetaWidget::isValid() Widget* w = *i; if(w->isValid() == false) { MessageBox::critical(NULL, "Fejl", - "Et af inputfelterne (" + w->getName() + "Et af inputfelterne (" + w->name() + ") er ikke udfyldt korrekt, prøv igen.\n" , MessageBox::Ok); return false; |