diff options
Diffstat (limited to 'tqdbusconnection.cpp')
-rw-r--r-- | tqdbusconnection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tqdbusconnection.cpp b/tqdbusconnection.cpp index 0360456..7ad47a6 100644 --- a/tqdbusconnection.cpp +++ b/tqdbusconnection.cpp @@ -401,8 +401,9 @@ bool TQT_DBusConnection::requestName(const TQString &name, int modeFlags) dbusFlags |= DBUS_NAME_FLAG_REPLACE_EXISTING; dbus_bus_request_name(d->connection, name.utf8(), dbusFlags, &d->error); - - return !d->handleError(); + bool res = !d->handleError(); + res &= d->handleUnreadMessages(); + return res; } #include "tqdbusconnection.moc" |