From 80139fc6efbcfb2d66aedf24afe7e18ccb1ec91e Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 21 Aug 2022 00:13:25 +0200 Subject: Add KServiceAction as a friend of KConfigGroup KServicePrivate is already a friend to be able to access convertToQVariant KServiceAction needs to do the same --- src/core/kconfiggroup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h index 222a0145..7a4eaf4c 100644 --- a/src/core/kconfiggroup.h +++ b/src/core/kconfiggroup.h @@ -730,6 +730,7 @@ private: */ static QVariant convertToQVariant(const char *pKey, const QByteArray &value, const QVariant &aDefault); friend class KServicePrivate; // XXX yeah, ugly^5 + friend class KServiceAction; }; #define KCONFIGGROUP_ENUMERATOR_ERROR(ENUM) "The Qt MetaObject system does not seem to know about \"" ENUM "\" please use Q_ENUM or Q_FLAG to register it." -- cgit v1.2.1