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

List:       kde-devel
Subject:    Problems with KRecentFilesAction
From:       Christian Nitschkowski <segfault_ii () web ! de>
Date:       2002-06-09 19:18:08
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I've got a problem with a KRecentFilesAction.
The code looks like this:

KRecentFilesAction* recent = KStdAction::openRecent(this, SLOT 
(openRecent(const KURL&)), actionCollection);

//snip

recent->clearURLList();
recent->saveEntries(KGlobal::config());
KGlobal::config()->sync();


But after syncing the rc-file, the RecentFiles-section is unchanged.

So I tried to delete the RecentFiles-section with
KGlobal::config()->deleteGroup("RecentFiles", true);

After syncing the rc-file, the RecentFiles-section was still there and 
unchanged.

How can I permanently clear the URLList of recent?

- -- 
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
GnuPG / PGP Key ID: 52FF1D09
search on wwwkeys.de.pgp.net or search.keyserver.net

Visit my page on http://segfaultskde.berlios.de
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9A6n5b/QSzFL/HQkRAnduAJ0U1cbJneelw5ciry3LoW2b3SklpACcCkWn
Fwifkm/sPUFBD37sHvXp2cU=
=XctL
-----END PGP SIGNATURE-----


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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