qmlplugindump: QMetaMethod signals have public access

Since 56bbf3c2d5b31142e5a1b872a0118479edcf874b (qtbase)

So public signals must be dumped.

Change-Id: Ic7047660fbac40f78c7a205e760c059256c71d6f
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
Caroline Chao 2013-09-18 09:32:45 +02:00 committed by The Qt Project
parent 8694af0816
commit 13d56d51ad
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ private:
void dump(const QMetaMethod &meth, const QSet<QString> &implicitSignals)
{
if (meth.methodType() == QMetaMethod::Signal) {
if (meth.access() != QMetaMethod::Protected)
if (meth.access() != QMetaMethod::Public)
return; // nothing to do.
} else if (meth.access() != QMetaMethod::Public) {
return; // nothing to do.