Move check for invalid service from KDesktopFileActions to ApplicationLauncherJob
ClosedPublic

Authored by dfaure on Apr 26 2020, 2:48 PM.

Diff Detail

Repository
R241 KIO
Branch
2020_04_invalid_service
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25952
Build 25970: arc lint + arc unit
dfaure created this revision.Apr 26 2020, 2:48 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 26 2020, 2:48 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Apr 26 2020, 2:48 PM
dfaure updated this revision to Diff 81250.Apr 26 2020, 2:48 PM

remove redundant line

dfaure updated this revision to Diff 81281.Apr 26 2020, 8:01 PM
dfaure retitled this revision from Move check for invalid service from KDesktopFileActions to ApplicationLauncherJobTest to Move check for invalid service from KDesktopFileActions to ApplicationLauncherJob.

fix wrong "Test" in commit log

Otherwise makes sense.

src/gui/kprocessrunner.cpp
55

IMHO, the word "entry" here is confusing, the first thing that comes to mind is that an entry (i.e. a line) in the file is invalid.

dfaure added inline comments.Apr 27 2020, 7:17 PM
src/gui/kprocessrunner.cpp
55

I see what you're saying.

It's the name of the spec, though.
https://specifications.freedesktop.org/desktop-entry-spec/latest/

Each file is an "entry for the desktop", I guess.

ahmadsamir accepted this revision.Apr 27 2020, 9:25 PM
ahmadsamir added inline comments.
src/gui/kprocessrunner.cpp
55

Well, what can we do... that ship has sailed.

This revision is now accepted and ready to land.Apr 27 2020, 9:25 PM
dfaure closed this revision.Apr 27 2020, 9:27 PM