Use public as default access specifier of QQmlJSMetaMethod
We don't seem to use it anyhow at present, so changing the default is safe. Making it public would also ensure that we have compatible state between constructors Pick-to: 6.3 Change-Id: Ic10213af8c5a52e7da2fd5de62c40ae333359759 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
98d4a44ecf
commit
bb911a16aa
|
@ -138,7 +138,6 @@ public:
|
|||
: m_name(std::move(name))
|
||||
, m_returnTypeName(std::move(returnType))
|
||||
, m_methodType(Method)
|
||||
, m_methodAccess(Public)
|
||||
{}
|
||||
|
||||
QString methodName() const { return m_name; }
|
||||
|
@ -250,7 +249,7 @@ private:
|
|||
QList<QQmlJSAnnotation> m_annotations;
|
||||
|
||||
Type m_methodType = Signal;
|
||||
Access m_methodAccess = Private;
|
||||
Access m_methodAccess = Public;
|
||||
int m_revision = 0;
|
||||
bool m_isConstructor = false;
|
||||
bool m_isJavaScriptFunction = false;
|
||||
|
|
Loading…
Reference in New Issue