code: def restoreSettings(self, settings, merge=False, loadProfile=True):
          
          value = unwrapVariant(settings.value('profile_toolbar'))
          if not value:
              return
          
          self.loadString(value, merge, loadProfile=loadProfile)
docs: Restores this profile from settings.
          
          :param      settings | <QSettings>