kdelibs kstandarddirs_win.cpp wrong and useless ?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Jan 4 15:48:32 CET 2009


Alexander Neundorf schrieb:
> Hi,
> 
> I just had a look at kdelibs/kdecore/kernel/kstandarddirs_win.cpp, it contains 
> only one function, which is 
> QString KStandardDirs::installPath(const char *type);
> 
> This is what you see if you execute "kde4-config --install lib" or something 
> else instead "lib".
> 
> Why are the directories hardcoded ? Isn't this wrong if they are set to 
> something else ? I think kstandarddirs_unix.cpp should be just fine also for 
> Windows.
> 
> Can somebody please check ?
> 
What do you think is hardcoded there? It's hardcoded in 
kstandarddirs_unix.cpp but kstandarddirs_win.cpp is using 
getKde4Prefix() to get the correct kde install location.


Christian


More information about the Kde-windows mailing list