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

Authored by kossebau on Feb 4 2018, 1:29 PM.