Call setSupportedSchemes("file") to allow only local files to be selected. That way QUrl::toStringList can be used as well. (cherry picked from commit caaa100b)