aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvaluetype.cpp
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-07 10:54:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-15 13:19:45 +0200
commit6096f72e8cf23522cf675d6142492c58401e68b0 (patch)
treeaa52faa72c9c18b23e13187b6895db854bbf4108 /src/qml/qml/qqmlvaluetype.cpp
parent203c592de64d4c8078396ed90409f7e0ceb69ed2 (diff)
Remove the use of QWidgetStar from QtQml.
The enum value can be removed so that it can be replaced in functionality with QMetaType::PointerToQObject. There is no advantage to QtDeclarative knowing that a value is a QWidget pointer. Change-Id: I14530132bc37fbb0dc55ba8aaa5bb68db0d87bad Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetype.cpp')
-rw-r--r--src/qml/qml/qqmlvaluetype.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvaluetype.cpp b/src/qml/qml/qqmlvaluetype.cpp
index 9be48ae9c7..cd11721e2b 100644
--- a/src/qml/qml/qqmlvaluetype.cpp
+++ b/src/qml/qml/qqmlvaluetype.cpp
@@ -83,7 +83,6 @@ bool QQmlValueTypeFactoryImpl::isValueType(int idx)
} else if (idx >= 0
&& idx != QVariant::StringList
&& idx != QMetaType::QObjectStar
- && idx != QMetaType::QWidgetStar
&& idx != QMetaType::VoidStar
&& idx != QMetaType::QVariant) {
return true;