aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextinput_p_p.h
diff options
context:
space:
mode:
authorVolker Krause <volker.krause@kdab.com>2012-11-30 16:09:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-30 17:06:48 +0100
commitf424629374b2d04d80dde4b07f17c1f2e52fe884 (patch)
treeb27f65b20dcafa74ccf24e06b1355a7821e177b0 /src/quick/items/qquicktextinput_p_p.h
parent85adf60ae1798ce82f5b2605ca9906401e8ec5ac (diff)
Compile with QT_NO_VALIDATOR.
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>
Diffstat (limited to 'src/quick/items/qquicktextinput_p_p.h')
-rw-r--r--src/quick/items/qquicktextinput_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/items/qquicktextinput_p_p.h b/src/quick/items/qquicktextinput_p_p.h
index cf0842453b..ece279cafa 100644
--- a/src/quick/items/qquicktextinput_p_p.h
+++ b/src/quick/items/qquicktextinput_p_p.h
@@ -464,9 +464,9 @@ private:
IntermediateInput = QValidator::Intermediate,
AcceptableInput = QValidator::Acceptable
#else
- Invalid,
- Intermediate,
- Acceptable
+ InvalidInput,
+ IntermediateInput,
+ AcceptableInput
#endif
};