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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/widgets/metawidget.cc b/client/widgets/metawidget.cc
index c085f10..5491790 100644
--- a/client/widgets/metawidget.cc
+++ b/client/widgets/metawidget.cc
@@ -29,7 +29,7 @@
#include <QHBoxLayout>
#include <QVBoxLayout>
-#include <QMessageBox>
+#include "messagebox.h"
#include "widgetbuilder.h"
#include "formatparser.h"
@@ -120,10 +120,10 @@ bool MetaWidget::isValid()
while (i != widgets.end()) {
Widget* w = *i;
if(w->isValid() == false) {
- QMessageBox::critical(NULL, "Fejl",
+ MessageBox::critical(NULL, "Fejl",
"Et af inputfelterne (" + w->getName()
+ ") er ikke udfyldt korrekt, prøv igen.\n"
- , QMessageBox::Ok);
+ , MessageBox::Ok);
return false;
}
i++;