summaryrefslogtreecommitdiff
path: root/libdbus-qeventloop/dbusconnectioneventloop.cpp
diff options
context:
space:
mode:
authorMartin Wolf <ext-martin.2.wolf@nokia.com>2010-04-27 12:35:08 +0300
committerMartin Wolf <ext-martin.2.wolf@nokia.com>2010-04-27 12:35:08 +0300
commit0e279e4350932643144f4ba9ac0afe501cb94c47 (patch)
tree0fff1fd6e8e80c66cea9144085dba32601ad028e /libdbus-qeventloop/dbusconnectioneventloop.cpp
parentcc2338087c34f699c6e7315cac5dfdedf21128b1 (diff)
Bug fix #165710 and #165755
Diffstat (limited to 'libdbus-qeventloop/dbusconnectioneventloop.cpp')
-rw-r--r--libdbus-qeventloop/dbusconnectioneventloop.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdbus-qeventloop/dbusconnectioneventloop.cpp b/libdbus-qeventloop/dbusconnectioneventloop.cpp
index e759d36..48152d9 100644
--- a/libdbus-qeventloop/dbusconnectioneventloop.cpp
+++ b/libdbus-qeventloop/dbusconnectioneventloop.cpp
@@ -53,9 +53,7 @@ void DBUSConnectionEventLoop::readSocket(int fd)
const Watcher &watcher = it.value();
if (watcher.read && watcher.read->isEnabled()) {
- watcher.read->setEnabled(false);
dbus_watch_handle(watcher.watch, DBUS_WATCH_READABLE);
- watcher.read->setEnabled(true);
break;
}
@@ -76,9 +74,7 @@ void DBUSConnectionEventLoop::writeSocket(int fd)
const Watcher &watcher = it.value();
if (watcher.write && watcher.write->isEnabled()) {
- watcher.write->setEnabled(false);
dbus_watch_handle(watcher.watch, DBUS_WATCH_WRITABLE);
- watcher.write->setEnabled(true);
break;
}