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

List:       kde-core-devel
Subject:    Re: PATCH: don't touch /.kde
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-11-25 17:32:06
[Download RAW message or body]

On Saturday 25 November 2000 17:16, Stephan Kulow wrote:
> Hi!
> 
> I would like to have the following patch applied
> to the 2.0 branch, so that kdmdesktop won't create
> /.kde. 
> 
> diff -u -u -r1.39 ksimpleconfig.cpp
> --- ksimpleconfig.cpp   2000/09/25 03:53:05     1.39
> +++ ksimpleconfig.cpp   2000/11/25 17:12:54
> @@ -43,7 +43,7 @@
>    // for KSimpleConfig an absolute filename is guaranteed
>    if (!pFileName.isNull() && pFileName[0] != '/') {
>       backEnd->changeFileName( KGlobal::dirs()->
> -       saveLocation("config")+pFileName, "config", false);
> +       saveLocation("config", QString::null, !bReadOnly)+pFileName, "config", false);

Makes perfect sense.

Maybe applyGUIStyle could also check whether the config file
actually exists.... Hmm, ok, we usually don't do that with kconfig files.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

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