Use QUrl to retrieve name of the downloaded file, fixes #264
Merge pull request #265 from mulander/master

Use QUrl to retrieve name of the downloaded file, fixes #264