[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Patch for KPresenter (Configure dialog)
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-06-02 9:18:15
[Download RAW message or body]

On Saturday 02 June 2001 12:11, Toshitaka Fujioka wrote:
> > Can you use KoDocument::defaultAutoSave()/60 for the default value for
> > autosave ? (/60 because it's in seconds). I just added that today, so
> > you'll need to update first. This is intended to make it easier to change
> > the default value, it will be only once in koDocument.
> 
> I remade patch.

Hmm, you used the default value in slotDefaults(), but not when reading from
the config file. You need to use it there too (instead of oldAutoSaveValue = 1,
and then use oldAutoSaveValue as the default value when reading from the config
file - see kword's kwconfig, that's where your code comes from anyway :-)

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic