summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-11-30 05:23:45 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-11-30 05:31:11 (GMT)
commitfe3cfced940f41d078380ef7bdebe40d85aa49a2 (patch)
treeaed5dfd87a4ae822538667d7a5452d58723efc42
parent16cbe54f41ff4ff9a03ce3973c52be32d63b7138 (diff)
downloadQt-fe3cfced940f41d078380ef7bdebe40d85aa49a2.zip
Qt-fe3cfced940f41d078380ef7bdebe40d85aa49a2.tar.gz
Qt-fe3cfced940f41d078380ef7bdebe40d85aa49a2.tar.bz2
Fix integer overflow in QDeclarativeItemPrivate::origin enumeration
Task-number: QTBUG-15694 Reviewed-by: Martin Jones
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem_p.h b/src/declarative/graphicsitems/qdeclarativeitem_p.h
index f85fa27..d8635b9 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem_p.h
+++ b/src/declarative/graphicsitems/qdeclarativeitem_p.h
@@ -259,7 +259,7 @@ public:
QDeclarativeStateGroup *_states();
QDeclarativeStateGroup *_stateGroup;
- QDeclarativeItem::TransformOrigin origin:4;
+ QDeclarativeItem::TransformOrigin origin:5;
bool widthValid:1;
bool heightValid:1;
bool componentComplete:1;