Call setSupportedSchemes("file") to allow only local files to be selected. That way QUrl::toStringList can be used as well.
mentioned in commit 667dfd19