Commit e8984f09 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: do not show __properties

Properties starting __ with are private api by convention.

Reviewed-by: Kai Koehne
parent d3eaf050
......@@ -599,7 +599,11 @@ QString templateGeneration(NodeMetaInfo type, NodeMetaInfo superType, const QmlO
qSort(orderedList);
foreach (const QString &name, orderedList) {
if (name.startsWith(QLatin1String("__")))
continue; //private API
QString properName = name;
properName.replace('.', '_');
QString typeName = type.propertyTypeName(name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment