path: root/src/dbus
diff options
authorOlivier Goffart <>2013-02-05 15:46:28 +0100
committerThe Qt Project <>2013-02-08 13:36:14 +0100
commitc6cb4ddbf9401ca430a0c0fb0324040313131658 (patch)
treeb040677b9b51787a021adf07b51ae8f210e45c14 /src/dbus
parentf79cc2d66b16af40aef7af1803c3ba50c939b03f (diff)
qMetaTypeId(): deprecate the dummy parameter.
It was there because of MSVC6 compatibility. It is not removed, because some code used to do qMetaTypeId(&myVariable); This was not a documented feature anyway, so it should not be user visible. Change-Id: I55327d7e73e67a6bb741817741d530d5a650291a Reviewed-by: Thiago Macieira <> Reviewed-by: Stephen Kelly <>
Diffstat (limited to 'src/dbus')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusreply.h b/src/dbus/qdbusreply.h
index 1d73e61cc4..7b4a4ebcf8 100644
--- a/src/dbus/qdbusreply.h
+++ b/src/dbus/qdbusreply.h
@@ -69,7 +69,7 @@ public:
inline QDBusReply& operator=(const QDBusMessage &reply)
- QVariant data(qMetaTypeId(&m_data), reinterpret_cast<void*>(0));
+ QVariant data(qMetaTypeId<Type>(), reinterpret_cast<void*>(0));
qDBusReplyFill(reply, m_error, data);
m_data = qvariant_cast<Type>(data);
return *this;