From 13d56d51ad5b263bf37bcf380e22e53eadbc4b57 Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Wed, 18 Sep 2013 09:32:45 +0200 Subject: [PATCH] qmlplugindump: QMetaMethod signals have public access Since 56bbf3c2d5b31142e5a1b872a0118479edcf874b (qtbase) So public signals must be dumped. Change-Id: Ic7047660fbac40f78c7a205e760c059256c71d6f Reviewed-by: Shawn Rutledge --- tools/qmlplugindump/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 854a637..a6f5562 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -545,7 +545,7 @@ private: void dump(const QMetaMethod &meth, const QSet &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. -- 2.7.4