Review Request 123076: Remove KNotifications dependency from libkdeconnectcore

Albert Vaca Cintora albertvaka at gmail.com
Fri Mar 20 18:11:14 UTC 2015


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

Ship it!


I have some questions, but feel free to ship it.


core/CMakeLists.txt 
<https://git.reviewboard.kde.org/r/123076/#comment53389>

    \o/



core/daemon.cpp (line 39)
<https://git.reviewboard.kde.org/r/123076/#comment53390>

    Why global instead of local static in Daemon or DaemonPrivate? If I remember correctly, this won't let somebody define another global called s_instance in, for example, kdeconnectd.



core/device.cpp (line 499)
<https://git.reviewboard.kde.org/r/123076/#comment53391>

    What's wrong with static cast that you always avoid it? We know it's a Daemon for sure in this case (and we can still check it in debug with a QASSERT, if you want).



daemon/kdeconnectd.cpp (line 101)
<https://git.reviewboard.kde.org/r/123076/#comment53392>

    ()


- Albert Vaca Cintora


On March 19, 2015, 5:28 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123076/
> -----------------------------------------------------------
> 
> (Updated March 19, 2015, 5:28 p.m.)
> 
> 
> Review request for kdeconnect.
> 
> 
> Repository: kdeconnect-kde
> 
> 
> Description
> -------
> 
> Moves the implementation into the actual daemon. This opens the possibility for different ways to expose these notifications depending on where the libkdeconnect will be deployed.
> 
> 
> Diffs
> -----
> 
>   core/CMakeLists.txt 2026317 
>   core/daemon.h 1817bdf 
>   core/daemon.cpp 4e9cec4 
>   core/device.h c2d743a 
>   core/device.cpp 96c62b5 
>   core/kdeconnectconfig.cpp 1356f43 
>   daemon/CMakeLists.txt 8847c32 
>   daemon/kdeconnectd.cpp cb7de79 
> 
> Diff: https://git.reviewboard.kde.org/r/123076/diff/
> 
> 
> Testing
> -------
> 
> I unpaired myself and paired back.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150320/4dcb8c29/attachment.html>


More information about the KDEConnect mailing list