summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-12 22:42:30 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-12 22:42:30 (GMT)
commit231604bc063c002240479b69baa8110c2c83e9e1 (patch)
tree6df309ba571b758dd39dca33515a400a53fd369a /src/declarative/qml/qmlmetaproperty.cpp
parent68c69f88d4c3a7b9f24162a4c7708ded7caba90e (diff)
downloadQt-231604bc063c002240479b69baa8110c2c83e9e1.zip
Qt-231604bc063c002240479b69baa8110c2c83e9e1.tar.gz
Qt-231604bc063c002240479b69baa8110c2c83e9e1.tar.bz2
Behavior fix plus basic autotests.
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index 8643301..59699ef 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -737,7 +737,6 @@ bool QmlMetaPropertyPrivate::writeEnumProperty(const QMetaProperty &prop, int id
return false;
QVariant v = value;
- uint t = QVariant::Invalid;
if (prop.isEnumType()) {
QMetaEnum menum = prop.enumerator();
if (v.type() == QVariant::String