• Aleix Pol Gonzalez's avatar
    Simplify path handling in the share plugin · 1f9176ad
    Aleix Pol Gonzalez authored
    Prefer ::toLocalFile() to ::path(). ::path() won't work on Windows properly.
    Let KUrl handle the trailing slash adjusting, no need to do the string
    handling ourselves.
    Take advantage of the fact that it can be a url, at the moment it was just
    doing silly type conversions.
    
    REVIEW: 116484
    1f9176ad
shareplugin.cpp 4.95 KB