diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-05-31 13:11:57 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2010-05-31 13:12:40 (GMT) |
commit | 77474ad850b91e1de080d2f8fb9a60af2f89668f (patch) | |
tree | 0c1412a7b36cd1e0d919d2d4e2bea3c0ae113177 /src/declarative/graphicsitems/qdeclarativeitem.cpp | |
parent | cbff8db322bf8e99cb3e062cc47fd2fc0db81ac2 (diff) | |
download | Qt-77474ad850b91e1de080d2f8fb9a60af2f89668f.zip Qt-77474ad850b91e1de080d2f8fb9a60af2f89668f.tar.gz Qt-77474ad850b91e1de080d2f8fb9a60af2f89668f.tar.bz2 |
Fix QT_NO_TEXTSTREAM compilation errors.
Merge-request: 647
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index 7bd08ce..134bd6d 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -3131,6 +3131,7 @@ bool QDeclarativeItem::event(QEvent *ev) return QGraphicsObject::event(ev); } +#ifndef QT_NO_DEBUG_STREAM QDebug operator<<(QDebug debug, QDeclarativeItem *item) { if (!item) { @@ -3144,6 +3145,7 @@ QDebug operator<<(QDebug debug, QDeclarativeItem *item) << ", z =" << item->zValue() << ')'; return debug; } +#endif qint64 QDeclarativeItemPrivate::consistentTime = -1; void QDeclarativeItemPrivate::setConsistentTime(qint64 t) |