diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-05-31 12:49:15 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2010-05-31 12:50:45 (GMT) |
commit | cbff8db322bf8e99cb3e062cc47fd2fc0db81ac2 (patch) | |
tree | 2bddbb7846e0efe128c26ab1765321c9418fbf4c /src/declarative/graphicsitems/qdeclarativetextinput.cpp | |
parent | de904c51b140e11c801471871632d1d1b552e470 (diff) | |
download | Qt-cbff8db322bf8e99cb3e062cc47fd2fc0db81ac2.zip Qt-cbff8db322bf8e99cb3e062cc47fd2fc0db81ac2.tar.gz Qt-cbff8db322bf8e99cb3e062cc47fd2fc0db81ac2.tar.bz2 |
Fix QT_NO_VALIDATOR compilation.
Merge-request: 648
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index 9c70ea9..305540f 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -648,6 +648,7 @@ void QDeclarativeTextInput::setAutoScroll(bool b) \sa acceptableInput, inputMask */ +#ifndef QT_NO_VALIDATOR QValidator* QDeclarativeTextInput::validator() const { Q_D(const QDeclarativeTextInput); @@ -669,6 +670,7 @@ void QDeclarativeTextInput::setValidator(QValidator* v) emit validatorChanged(); } +#endif // QT_NO_VALIDATOR /*! \qmlproperty string TextInput::inputMask |