Correct string to QUrl conversion

Filename: f = "download.png"
Url 1:
u = QUrl(f) = QUrl( "download.png" ) => ""
Url 2:
ulf = QUrl::fromLocalFile(f) = QUrl( "file:download.png" ) =>
"download.png"