Most native Mac applications show the registered icon in the titlebar when a known document type is opened, and provide a path dropdown menu under that icon. Selecting one of the path components in that menu opens the corresponding folder in the Finder.
Qt exposes this feature via `QWidget::setWindowFilePath()`; this change calls the method in `MainWindow::updateCaption()`.