Review Request 125640: Remove special handling when service is already registered
David Faure
faure at kde.org
Sun Oct 18 12:14:52 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125640/#review87013
-----------------------------------------------------------
Ship it!
Ship It!
- David Faure
On Oct. 14, 2015, 8:04 p.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125640/
> -----------------------------------------------------------
>
> (Updated Oct. 14, 2015, 8:04 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: kwallet
>
>
> Description
> -------
>
> As pointed out in https://git.reviewboard.kde.org/r/125483/ the special handling is useless here. If the service is registered, it will call Activate and KDBusService will just exit, even with the NoExitOnFailure flag; it would never reach the "if (!dbusUniqueInstance.isRegistered()) {".
>
> Furthermore, without the NoExitOnFailure flag, it would exit right from KDBusService, rendering this whole if-block kinda useless.
>
>
> Diffs
> -----
>
> src/runtime/kwalletd/main.cpp fbab58d
>
> Diff: https://git.reviewboard.kde.org/r/125640/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Martin Klapetek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151018/8cdb89f1/attachment.html>
More information about the Kde-frameworks-devel
mailing list