summaryrefslogtreecommitdiffstats
path: root/src/qtjsonschema/schemaerror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtjsonschema/schemaerror.cpp')
-rw-r--r--src/qtjsonschema/schemaerror.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qtjsonschema/schemaerror.cpp b/src/qtjsonschema/schemaerror.cpp
index 1e134eb..9bfe2a2 100644
--- a/src/qtjsonschema/schemaerror.cpp
+++ b/src/qtjsonschema/schemaerror.cpp
@@ -42,6 +42,7 @@
#include "schemaerror.h"
#include <QStringList>
+#include <QDebug>
QT_BEGIN_NAMESPACE_JSONSTREAM
@@ -124,4 +125,10 @@ QList<SchemaError> SchemaError::subErrors() const
return errors;
}
+QDebug operator <<(QDebug dbg, const SchemaError &e)
+{
+ dbg << "SchemaError(" << e.m_data << ")";
+ return dbg;
+}
+
QT_END_NAMESPACE_JSONSTREAM