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

List:       kde-core-devel
Subject:    Re: kde4-config or KGlobal::dirs()->allTypes() minor problem
From:       David Faure <faure () kde ! org>
Date:       2009-01-05 13:36:58
Message-ID: 200901051436.59253.faure () kde ! org
[Download RAW message or body]

On Friday 02 January 2009, Alexander Neundorf wrote:
> So, what's the right fix ?
> Add lib and include to allTypes() or just add the output of these two options 
> to kdelibs/kdecore/kde-config.cpp ?

allTypes() exists mostly for kde-config, so I think it should be fixed directly
in KStandardDirs.

lxr.kde.org told me the only other use of allTypes is
playground/sysadmin/kamion/src/resourceinstaller.cpp#114
which looks if a string is a "known kstandarddirs type", and I think it would
be correct for it to support lib and include too...

-- 
David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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