Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-27

Can't pickle WindowStates objects

    XMLWordPrintable

Details

    Description

      The following code make the exception:

      class MainWindow(QtGui.QMainWindow):
      ...
          def saveSettings(self):
              settings = QtCore.QSettings()
              settings.beginGroup('window')
              settings.setValue('state', self.windowState())
              ...
              settings.endGroup()
      

      Attachments

        1. bug_j27.py
          0.6 kB
        2. pyside-27-bug_j27.py
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            ghostbr Christofer Bertonha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes