When d760ced7 introduced `dirUrl.adjusted(QUrl::RemoveFilename)` in some places, the original code was adapted too, although it should have been removed due to not having any effect anymore.