![]() |
2011-07-12
, 20:15
|
Posts: 249 |
Thanked: 277 times |
Joined on May 2010
@ Brighton, UK
|
#2
|
QDBusMessage msg(QDBusMessage::createMethodCall(NOKIA_SERVICE_ACCOUNTS_UI, NOKIA_PATH_ACCOUNTS_UI, NOKIA_IFACE_ACCOUNTS_UI, "OpenAccountsList"));
msg << (uint)winId();
QDBusConnection::sessionBus().call(msg);
The Following User Says Thank You to mr_jrt For This Useful Post: | ||
![]() |
Tags |
dbus qt qdbus |
Thread Tools | |
|
However, when I call it from code, the first call I get back a fail of sorts (I get an empty error message and the proxy isn't valid)...
...during which, the rtcom-accounts-ui service process is fired up by DBus.
The next call succeeds fine. Once the dialog is closed however, after a minute or so, the process exits. This would all be fine, but when I invoke the DBus call again, the process doesn't get fired up again, probably due to Dbus seemingly thinking it should still be running, as I instead get the error: