We should probably compare QUrl objects instead.