StelSkyCultureMgr.cpp   StelSkyCultureMgr.cpp 
skipping to change at line 122 skipping to change at line 122
//! returns newline delimited list of human readable culture names translat ed to current locale //! returns newline delimited list of human readable culture names translat ed to current locale
QStringList StelSkyCultureMgr::getSkyCultureListI18(void) QStringList StelSkyCultureMgr::getSkyCultureListI18(void)
{ {
QStringList cultures; QStringList cultures;
QMapIterator<QString, StelSkyCulture> i(dirToNameEnglish); QMapIterator<QString, StelSkyCulture> i(dirToNameEnglish);
while (i.hasNext()) while (i.hasNext())
{ {
i.next(); i.next();
cultures += q_(i.value().englishName); cultures += q_(i.value().englishName);
} }
// Sort for GUI use. Note that e.g. German Umlauts are sorted after
Z. TODO: Fix this!
cultures.sort(Qt::CaseInsensitive);
return cultures; return cultures;
} }
QStringList StelSkyCultureMgr::getSkyCultureListIDs(void) QStringList StelSkyCultureMgr::getSkyCultureListIDs(void)
{ {
return dirToNameEnglish.keys(); return dirToNameEnglish.keys();
} }
QString StelSkyCultureMgr::directoryToSkyCultureEnglish(const QString& dire ctory) QString StelSkyCultureMgr::directoryToSkyCultureEnglish(const QString& dire ctory)
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/