Review Request 121233: Do not drop ASN passed to KRun when executing desktop files
Martin Gräßlin
mgraesslin at kde.org
Thu Nov 27 14:02:30 UTC 2014
> On Nov. 27, 2014, 2:49 p.m., Eike Hein wrote:
> > src/widgets/kdesktopfileactions.h, line 97
> > <https://git.reviewboard.kde.org/r/121233/diff/1/?file=329669#file329669line97>
> >
> > Isn't this BIC? You can't extend a signature even when the parameter has a default arg, no? https://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B suggests to add a new function with the extended sig.
It's BC, but apparently not SC - IIUC. I'm not sure whether it's really needed to add a new function. It's not used anywhwere except in the same framework.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121233/#review71016
-----------------------------------------------------------
On Nov. 24, 2014, 7:53 p.m., Martin Gräßlin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121233/
> -----------------------------------------------------------
>
> (Updated Nov. 24, 2014, 7:53 p.m.)
>
>
> Review request for KDE Frameworks and David Faure.
>
>
> Repository: kio
>
>
> Description
> -------
>
> KDesktopFileActions::run did not accept the optional argument
> QByteArray asn which meant that any application startup id passed
> to KRun got dropped at this point when launching a desktop file.
>
> This change ensures that an ASN is passed along. This way we can
> properly pass around the application which launched the process
> and the timestamp which triggered the launch (otherwise klauncher
> needs a roundtrip to the X-Server to fetch the latest timestamp).
>
>
> Diffs
> -----
>
> src/widgets/kdesktopfileactions.cpp 0cbeb00f0c0344b5b204f0d18b7c269da6c99e7f
> src/widgets/kdesktopfileactions.h 7b96ff079c752436aebd0b134b930171ea088f48
> src/widgets/krun.cpp c623b583716e492622e0d1d1c9cec485c6bcf163
>
> Diff: https://git.reviewboard.kde.org/r/121233/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Martin Gräßlin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141127/0346504c/attachment.html>
More information about the Kde-frameworks-devel
mailing list