Fix locale-aware reading in KDesktopFile
Review Request #118564 - Created June 5, 2014 and submitted - Latest diff uploaded
Fix locale-aware reading in KDesktopFile The underlying KConfig used QLocale::name() for getting the locale aware part. But this returns "de_DE" while the desktop files store "de". In addition it constructs a QLocale object instead of using the system locale. This has the advantage that the usage of QLocale::setDafault() gets honored by KConfig.
added unit test failed before. I'm not 100 % sure whether using bcp47Name is correct.