summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-05-04 09:48:46 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-05-04 11:39:49 (GMT)
commit237b4b8c8e9b5184578b4776c5f1f554c0d8efb5 (patch)
tree335fd4706627e740344ef3023eb1ceaf8c5bb1ff /src/dbus
parent80aef133fd2c8da3cc1a6607c1c044eaca768169 (diff)
downloadQt-237b4b8c8e9b5184578b4776c5f1f554c0d8efb5.zip
Qt-237b4b8c8e9b5184578b4776c5f1f554c0d8efb5.tar.gz
Qt-237b4b8c8e9b5184578b4776c5f1f554c0d8efb5.tar.bz2
Fixed D-Bus socket write notifications, broken since d47c05b1
Shame on me: copy/paste from socketRead to socketWrite, I didn't change the DBUS_WATCH_READABLE to DBUS_WATCH_WRITABLE. Reviewed-by: Trust Me
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/qdbusintegrator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp
index 8c701f5..2c27381 100644
--- a/src/dbus/qdbusintegrator.cpp
+++ b/src/dbus/qdbusintegrator.cpp
@@ -1102,7 +1102,7 @@ void QDBusConnectionPrivate::socketWrite(int fd)
}
for (int i = 0; i < pendingWatches.size(); ++i)
- if (!q_dbus_watch_handle(pendingWatches[i], DBUS_WATCH_READABLE))
+ if (!q_dbus_watch_handle(pendingWatches[i], DBUS_WATCH_WRITABLE))
qDebug("OUT OF MEM");
}