Compile with QT_NO_VALIDATOR.
authorVolker Krause <volker.krause@kdab.com>
Fri, 30 Nov 2012 15:09:23 +0000 (16:09 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 30 Nov 2012 16:06:48 +0000 (17:06 +0100)
Theses enums were apparently renamed for the case QValidator is present,
so follow this here as well.

Change-Id: Ic2a3fd5296a6dd9da356c2e5efd88f56d0843664
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
src/quick/items/qquicktextinput_p_p.h

index cf08424..ece279c 100644 (file)
@@ -464,9 +464,9 @@ private:
         IntermediateInput   = QValidator::Intermediate,
         AcceptableInput     = QValidator::Acceptable
 #else
-        Invalid,
-        Intermediate,
-        Acceptable
+        InvalidInput,
+        IntermediateInput,
+        AcceptableInput
 #endif
     };