Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment