Fix for bug 364530

Review Request #128314 - Created June 29, 2016 and discarded

Information
Chinmoy Ranjan Pradhan
kio
master
364530
Reviewers
plasma

The function KFileItem::targetUrl() expands "desktop:/" to "/home/$USER/Desktop/" and doesn't add scheme "file" to the url. Due to this a schemeless url is passed to KRun causing KRun to show an error message despite the fact that the file exist.

The proposed patch will cause targetUrl() to check the url for a scheme and add "file" scheme if there exist no scheme.


  

Files


Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
David Faure
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Chinmoy Ranjan Pradhan
Review request changed

Status: Discarded

Loading...