Update obsolete KProcess::error

Authored by gengisdave on Feb 10 2020, 6:58 PM.



The signal QProcess::error(QProcess::ProcessError) is deprecated in favor of QProcess::errorOccurred(QProcess::ProcessError)

The new signal was introduced in Qt 5.6, no #if guards are needed

Test Plan

Compile and test. The changes impact when the tool Locate fails to start (e.g. not installed or without exec perms)

Diff Detail

R167 Krusader
Lint Skipped
Unit Tests Skipped
gengisdave requested review of this revision.Feb 10 2020, 6:58 PM
gengisdave created this revision.
asensi accepted this revision as: asensi.Feb 19 2020, 10:30 PM
asensi added a subscriber: asensi.

I've been using daily those changes for more than a week and everything looked alright. Other people can do their checks. Thanks, Davide!

This revision is now accepted and ready to land.Feb 19 2020, 10:30 PM
This revision was automatically updated to reflect the committed changes.