diff options
author | Matt Fischer <matt.fischer@garmin.com> | 2014-10-16 17:04:11 -0500 |
---|---|---|
committer | Matt Fischer <matt.fischer@garmin.com> | 2014-11-22 00:29:16 +0100 |
commit | cd2ac1e2e54b2bdd3b539ac29eb461911d4b6314 (patch) | |
tree | 923dbf2162c762c7f2449225d7329abbd0df70f2 /src/dbus/qdbuspendingcall.cpp | |
parent | 49052ba8a87fc0f8dc437d63cc541845501ab7a8 (diff) |
Don't send reply messages for non-method calls in QDBusMessage
QDBusMessage is intended to avoid sending reply messages unless
the message is a method call without the NO_REPLY_EXPECTED flag set.
However, since messages which are not method calls will never have
this flag set, the code will currently cause all non-method call
messages to expect a reply. This patch changes the code to examine
the message type, and to only check for the flag in cases where the
message is a method call.
Change-Id: Ic5bb00df69d3cfb38f60bf6bfd8463fb28cf2c99
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbuspendingcall.cpp')
0 files changed, 0 insertions, 0 deletions