Review Request 129396: Allow to read X-KDE-RunOnDiscreteGpu property from desktop file + take this option into account when starting service using KToolInvocation

Jan Grulich jgrulich at redhat.com
Mon Nov 14 10:01:51 UTC 2016


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

(Updated Lis. 14, 2016, 10:01 dop.)


Review request for KDE Frameworks and David Faure.


Changes
-------

Use QString::left() when stripping down the .desktop suffix.


Repository: kservice


Description
-------

$SUMMARY says it all I guess, this patch allows to read X-KDE-RunOnDiscreteGpu property which can be now set from KPropertiesDialog, see review 129395. Also when running an application using KToolInvocation (e.g. when running an app from panel or desktop) take this property into account and set required variable accordingly.


Diffs (updated)
-----

  src/kdeinit/ktoolinvocation.cpp c9eb922 
  src/services/kservice.h 66525b4 
  src/services/kservice.cpp 6574367 

Diff: https://git.reviewboard.kde.org/r/129396/diff/


Testing
-------


Thanks,

Jan Grulich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161114/85e7797c/attachment.html>


More information about the Kde-frameworks-devel mailing list