Archives: Make three member functions more similar. Avoid some searches
ClosedPublic

Authored by asensi on Mar 30 2020, 5:41 AM.

Details

Summary

Make three member functions more similar, in order to port future changes more easily from one function to the other.

Also, in some cases when the path to a program is found: remember the path for the next time, avoiding some future searches.

Remove detectFullPathName code that nowadays can be substituted by QStandardPaths::findExecutable(name).

Test Plan

Diff Detail

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asensi requested review of this revision.Mar 30 2020, 5:41 AM
asensi created this revision.
asensi edited the summary of this revision. (Show Details)Mar 30 2020, 6:16 AM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 15 2020, 10:46 PM
This revision was automatically updated to reflect the committed changes.