summaryrefslogtreecommitdiff
path: root/client/widgets/metawidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/metawidget.cc')
-rw-r--r--client/widgets/metawidget.cc4
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;