diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-01 22:08:36 -0200 |
---|---|---|
committer | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2023-12-01 14:06:03 +0100 |
commit | 7bf1989e62e6c268518e748a0ae83d2841f32624 (patch) | |
tree | 3463f8b78c75f785506967628cd70dcfc9fbb631 /src/dbus/qdbusmessage.h | |
parent | 24627d9bce444cee6bc593680c494d58ec241171 (diff) |
Remove the DBusMessage* members from QDBusMessagePrivate
We don't need to keep the entire original message in QDBusMessagePrivate
after we've demarshalled it, nor do we need to keep a link to the
message we're replying to. In order to reply properly to a message, we
only need two pieces of information: the serial of the method call being
replied to and the service that originated the call.
Fixes: QTBUG-69919
Change-Id: Ic5d393bfd36e48a193fcffff13b7375db459e619
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Diffstat (limited to 'src/dbus/qdbusmessage.h')
-rw-r--r-- | src/dbus/qdbusmessage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/qdbusmessage.h b/src/dbus/qdbusmessage.h index 644a1170e3..819f786487 100644 --- a/src/dbus/qdbusmessage.h +++ b/src/dbus/qdbusmessage.h @@ -84,6 +84,7 @@ public: QDBusMessage &operator<<(const QVariant &arg); private: + QDBusMessage(QDBusMessagePrivate &dd); friend class QDBusMessagePrivate; QDBusMessagePrivate *d_ptr; }; |