Fix warning when using newer upower backend.
Review Request #121007 - Created Nov. 6, 2014 and submitted
|afiestas, dfaure, lukas|
"No such signal org::freedesktop::UPower::DeviceAdded(...)"
The signature change can be detected at runtime using Qt's QMetaObject
introspection mechanism. That prevents us from emitting the two
pesky warnings at runtime, polluting our konsoles.
Google is full of that warning, and there is also: https://bugzilla.redhat.com/show_bug.cgi?id=1056769
Thank you very much for looking into this. I talked to Lukas Tinkl about it when we met, though, and IIRC he said that it couldn't be fixed that simply (because of the dbus signal magic)? I'm not sure though. Did you check that indexOfSignal("DeviceAdded(QDBusObjectPath)") works?
(simpler than downgrading UPower).