[PATCH] KMainWindow::applyMainWindowSettings & SaveMainWindowSettings

Waldo Bastian bastian at kde.org
Fri Jun 7 23:43:44 BST 2002


On Friday 07 June 2002 02:42 pm, Nadeem Hasan wrote:
> 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.

The behaviour is already predictable. If no group is specified it uses the 
current group. Changing that behaviour would break backwards compatibility.

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

I have no idea. I suggest to update the documentation to include that the 
settings are saved to "group" and that if "group" is empty the current group 
is used.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list