Review Request 116951: Fix KDBusServiceStarter::findServiceFor() not returning error string

Kevin Krammer krammer at kde.org
Fri Mar 21 14:44:08 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116951/#review53689
-----------------------------------------------------------



kio/kio/kdbusservicestarter.cpp
<https://git.reviewboard.kde.org/r/116951/#comment37656>

    there is a check for error not being a null pointer in line 74, so it could pontentially be 0 here as well


- Kevin Krammer


On March 21, 2014, 2:39 p.m., David Jarvie wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116951/
> -----------------------------------------------------------
> 
> (Updated March 21, 2014, 2:39 p.m.)
> 
> 
> Review request for kdelibs.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> When KDBusServiceStarter::findServiceFor() fails to start the requested service after it is found to not be running, it does not return the error string. This patch fixes that and makes it behave as in the apidox.
> 
> 
> Diffs
> -----
> 
>   kio/kio/kdbusservicestarter.cpp 90624fb 
> 
> Diff: https://git.reviewboard.kde.org/r/116951/diff/
> 
> 
> Testing
> -------
> 
> Tested this scenario, and it now returns the error string.
> 
> 
> Thanks,
> 
> David Jarvie
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140321/00cc5792/attachment.htm>


More information about the kde-core-devel mailing list