summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusconnection.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-12-27 12:55:33 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-12-27 22:30:11 (GMT)
commit33985fb2020884955ed44db825ace7cf0ec32bbc (patch)
tree5678da497b9c4577b31cb05efc08acf29c9543bb /src/dbus/qdbusconnection.h
parent53abbf0cedbf2e3478e63c1b007d27a943df630d (diff)
downloadQt-33985fb2020884955ed44db825ace7cf0ec32bbc.zip
Qt-33985fb2020884955ed44db825ace7cf0ec32bbc.tar.gz
Qt-33985fb2020884955ed44db825ace7cf0ec32bbc.tar.bz2
Fix D-Bus marshalling of booleans in optimised code.
C++ booleans are 1 byte in size, but D-Bus booleans (dbus_bool_t) are 4 bytes. That means a boolean with a zero in the LSB byte but non-zero garbage in the high bytes is a valid "false" in C++, but libdbus-1 will turn that to true when sending. Task-number: QTBUG-7041 Reviewed-By: Trust Me BT: yes
Diffstat (limited to 'src/dbus/qdbusconnection.h')
0 files changed, 0 insertions, 0 deletions