Use QVariant::toUrl() over QVariant::value<QUrl>()

Authored by kossebau on Feb 6 2018, 5:23 PM.