Web lists-archives.com

Re: save and restore the geometry of KMainWindow

On 30.01.2018 16:38, Milian Wolff wrote:
This works for me:
Thanks, that helped. I was using restoreGeometry(group.readEntry("geometry").toLatin1()) instead of

restoreGeometry(group.readEntry("geometry", QByteArray())) ... Hotspot is a nice tool by the way :-)

Why not to add this logic to KMainWindow and to make this automatically available for all/many KDE applications?

The state is already saved and restored there. Why not to do the same for the geometry?