- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    6.1.0
- 
    None
- 
    windows10 python3.8 PySide6
- 
        
- 
        652b900df1676990b11fcfa379ef916091a79221 (pyside/tqtc-pyside-setup/dev) 3853915cbf8247f9e6e3211c41240ebb09cd1aa8 (pyside/pyside-setup/6.1) 90761561e875080fd04b16025213e5315dd0ee24 (pyside/tqtc-pyside-setup/5.15)
Steps to reproduce:
- Remove settings file of mdi/application example ( ~/.config/QtProject/Application Example.conf )
- Launch example
I didn't record the complete error information, because after comment error line (happened on line 206) was successfully run for the first time, it can't be repeated again.
```
205    geometry = settings.value('geometry', QByteArray)
 206    if geometry.size():
 207        self.restoreGeometry(geometry)
```
The simple error message is as follows:
`descriptor 'size' of 'PySide6.QtCore.QByteArray' object needs an argument`
| For Gerrit Dashboard: PYSIDE-1584 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 352092,2 | mdi/application examples: Fix startup without settings file | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 352166,2 | mdi/application examples: Fix startup without settings file | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 | 
| 352173,3 | mdi/application examples: Fix startup without settings file | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |