scanFolder now accepts QUrl