Use QUrl::fromLocalFile for opening local files

construct QUrl from local file.
This handles special characters like #
Also it should be the same for Windows.
Merge pull request #7 from ckorn/patch-1

Use QUrl::fromLocalFile for opening local files