docs: def _on_action_triggered(self):
          """
          Emits open_requested when a recent file action has been triggered.
          """
          action = self.sender()
          assert isinstance(action, QtWidgets.QAction)
          path = action.data()
          self.open_requested.emit(path)
          self.update_actions()