diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-09 05:18:08 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-09 05:18:08 (GMT) |
commit | 95ad31adca64f639712fa378d25aa3e552b3dc72 (patch) | |
tree | d03e2ed9999a17572be62f54fc4173608221eb9e /src/declarative/graphicsitems/qdeclarativetext.cpp | |
parent | 60e0a0b0fb6a2cf7b9fffd4ff2d30838ffa4ac84 (diff) | |
download | Qt-95ad31adca64f639712fa378d25aa3e552b3dc72.zip Qt-95ad31adca64f639712fa378d25aa3e552b3dc72.tar.gz Qt-95ad31adca64f639712fa378d25aa3e552b3dc72.tar.bz2 |
TextEdit::wrap changed to TextEdit::wrapMode enumeration
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index c950e31..1f53b75 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -362,7 +362,7 @@ bool QDeclarativeText::wrap() const void QDeclarativeText::setWrap(bool w) { qmlInfo(this) << "\"wrap\" property is deprecated and will soon be removed. Use wrapMode"; - setWrapMode(WordWrap); + setWrapMode(w ? WordWrap : NoWrap); } |