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

Can't pickle WindowStates objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, dev
    • Fix Version/s: 5.12.0
    • Component/s: PySide
    • Environment:
      ArchLinux 64 and Windows 7 64

      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

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            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