summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-09-27 12:09:03 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-10-15 16:20:30 +0000
commit34966bc84f2d446f75bb0e123805f51c89e84190 (patch)
treed9199d9d06195c528526316a2b8092e2b0f1fcd8 /src/dbus
parent3674718e3d7a030a774d53630888e424139df79b (diff)
QDBusPendingCall: Remove unused member
We set it to the number of types that the call expects to receive, but we never used it anywhere else. Change-Id: I42e7ef1a481840699a8dffff1407eb520b5844d8 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/qdbuspendingcall.cpp1
-rw-r--r--src/dbus/qdbuspendingcall_p.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/dbus/qdbuspendingcall.cpp b/src/dbus/qdbuspendingcall.cpp
index ad5632be5a..c93d6acf84 100644
--- a/src/dbus/qdbuspendingcall.cpp
+++ b/src/dbus/qdbuspendingcall.cpp
@@ -181,7 +181,6 @@ bool QDBusPendingCallPrivate::setReplyCallback(QObject *target, const char *memb
void QDBusPendingCallPrivate::setMetaTypes(int count, const int *types)
{
- expectedReplyCount = count;
if (count == 0) {
expectedReplySignature = QLatin1String(""); // not null
return;
diff --git a/src/dbus/qdbuspendingcall_p.h b/src/dbus/qdbuspendingcall_p.h
index dcf733679c..571a0eb028 100644
--- a/src/dbus/qdbuspendingcall_p.h
+++ b/src/dbus/qdbuspendingcall_p.h
@@ -89,7 +89,6 @@ public:
QDBusMessage replyMessage;
DBusPendingCall *pending;
QString expectedReplySignature;
- int expectedReplyCount;
// }
QDBusPendingCallPrivate(const QDBusMessage &sent, QDBusConnectionPrivate *connection)