D5983: Check error status after every PolKitAuthority usage
Albert Astals Cid
noreply at phabricator.kde.org
Sat May 27 09:25:48 UTC 2017
aacid added inline comments.
INLINE COMMENTS
> Polkit1Backend.cpp:220
> + auto authority = PolkitQt1::Authority::instance();
> + if (authority->hasError()) {
> + qWarning() << "Encountered error while enumerating actions, error code:" << authority->lastError() << authority->errorDetails();
This seems a bit weird since we have done nothing with authority here, so how would it have an error?
REPOSITORY
R283 KAuth
REVISION DETAIL
https://phabricator.kde.org/D5983
To: skalinichev
Cc: aacid, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170527/6b07ee46/attachment.html>
More information about the Kde-frameworks-devel
mailing list