Review Request 116087: remove usage of strlcpy
David Faure
faure at kde.org
Sun Mar 16 09:12:32 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116087/#review53028
-----------------------------------------------------------
src/kcrash.cpp
<https://git.reviewboard.kde.org/r/116087/#comment37321>
I just realized that this requires qpa-private headers, which is a problem (breaks compat when upgrading Qt, too). See k-f-d thread "kguiaddons uses qpa headers?".
We could add a QX11Info::startupId() instead?
Makes me wonder how startup notification is supposed to work on wayland though - and whether I should resurrect the idea of a DBus-based startup notification at the upcoming freedesktop meeting.
- David Faure
On March 15, 2014, 3:31 p.m., Alexander Richardson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116087/
> -----------------------------------------------------------
>
> (Updated March 15, 2014, 3:31 p.m.)
>
>
> Review request for KDE Frameworks and David Faure.
>
>
> Repository: kcrash
>
>
> Description
> -------
>
> remove usage of strlcpy
>
> We can get the startupId from the QPlatformNativeInterface.
> Additionally this means we no longer need to link to KWindowSystem.
>
> REVIEW: 116087
>
>
> Diffs
> -----
>
> src/CMakeLists.txt d19b97f98e057d5537cf0eb6a8e1997d2a24cb1e
> KF5CrashConfig.cmake.in dcde84376e7ea69e53a26dc2bcba8137ee28a2a4
> CMakeLists.txt b9a6f441abed3c88bf428869c30ef5aebd72fc74
> src/strlcpy-fake.c 9b2dc68c466908d11370ba0c4bbe8d315962da5d
> src/kcrash.cpp 6c41022206130f186d52ddbb77afd58c429f368f
> src/config-strlcpy.h.cmake 5d9163d7a60d89b9792afcdf498af6425a9038a8
>
> Diff: https://git.reviewboard.kde.org/r/116087/diff/
>
>
> Testing
> -------
>
> Compiles
>
>
> Thanks,
>
> Alexander Richardson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140316/22f63a2c/attachment.html>
More information about the Kde-frameworks-devel
mailing list