[PATCH] KMainWindow::applyMainWindowSettings & SaveMainWindowSettings

Nadeem Hasan nhasan at nadmm.com
Fri Jun 7 22:42:17 BST 2002


Hi,

If the group name is not passed to the above two methods, the group that
used to read/write settings is completely random and results in the
settings not getting restored properly. The attached patch defaults the
group to "MainWindowSettings" to make the behaviour predictable.

BTW, why is the "group" parameter documented as "For internal use only"?

Cheers,
-- 
Nadeem Hasan
nhasan at nadmm.com
http://www.nadmm.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmainwindow1.diff
Type: text/x-diff
Size: 3016 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020607/163af61f/attachment.diff>


More information about the kde-core-devel mailing list