docs: def handleProfileChange(self):
          """
          Emits that the current profile has changed.
          """
          # restore the profile settings
          prof    = self.currentProfile()
          vwidget = self.viewWidget()
          if vwidget:
              prof.restore(vwidget)
          
          if not self.signalsBlocked():
              self.currentProfileChanged.emit(self.currentProfile())