From kde-core-devel Mon Jan 05 13:36:58 2009 From: David Faure Date: Mon, 05 Jan 2009 13:36:58 +0000 To: kde-core-devel Subject: Re: kde4-config or KGlobal::dirs()->allTypes() minor problem Message-Id: <200901051436.59253.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=123116268000472 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).