dbus/qt/tools dbus.cpp,1.1,1.2
Thiago J. Macieira
thiago at kemper.freedesktop.org
Mon Jun 12 02:18:47 PDT 2006
Update of /cvs/dbus/dbus/qt/tools
In directory kemper:/tmp/cvs-serv24253/qt/tools
Modified Files:
dbus.cpp
Log Message:
* qt/src/qdbusintegrator.cpp: Fix bug in parsing async methods
that took a QDBusMessage parameter.
* qt/src/qdbusbus.h: Add a default flag for RequestName.
* qt/tools/dbus.cpp: Don't use automatic call because we might
be calling an async method: request a reply.
Index: dbus.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/tools/dbus.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dbus.cpp 5 Jun 2006 18:13:07 -0000 1.1
+++ dbus.cpp 12 Jun 2006 09:18:45 -0000 1.2
@@ -237,7 +237,7 @@
exit(1);
}
- QDBusMessage reply = iface->callWithArgs(member, params);
+ QDBusMessage reply = iface->callWithArgs(member, params, QDBusInterface::NoUseEventLoop);
if (reply.type() == QDBusMessage::ErrorMessage) {
QDBusError err = reply;
printf("Error: %s\n%s\n", qPrintable(err.name()), qPrintable(err.message()));
More information about the dbus-commit
mailing list