summaryrefslogtreecommitdiffstats
path: root/src/qtjsonschema/checkpoints_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtjsonschema/checkpoints_p.h')
-rw-r--r--src/qtjsonschema/checkpoints_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qtjsonschema/checkpoints_p.h b/src/qtjsonschema/checkpoints_p.h
index 63e743c..b2c9812 100644
--- a/src/qtjsonschema/checkpoints_p.h
+++ b/src/qtjsonschema/checkpoints_p.h
@@ -48,7 +48,6 @@
#include <QDebug>
#include <QDate>
#include <QUrl>
-#include <QColor>
#include <math.h>
@@ -959,14 +958,6 @@ public:
if (QString::fromLatin1("regexp") == m_format) {
}
break;
- case QStaticStringHash<'c','o','l','o','r'>::Hash:
- if (QString::fromLatin1("color") == m_format) {
- QString str;
- if (!(str = value.toString(&ok)).isEmpty() && ok) {
- return QColor(str).isValid();
- }
- }
- break;
case QStaticStringHash<'u','r','i'>::Hash:
if (QString::fromLatin1("uri") == m_format) {
QString str;