-rw-r--r-- | core/pim/today/today.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 83d8601..f213943 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -198,3 +198,9 @@ void Today::loadPlugins() { QString type = (*it).left( (*it).find(".") ); - QStringList langs = Global::languageList(); + + // grr, sharp rom does not know Global::languageList(); + // QStringList langs = Global::languageList(); + QString tfn = QPEApplication::qpeDir() + "/i18n/"; + QDir langDir = tfn; + QStringList langs = langDir.entryList("*", QDir::Dirs ); + for (QStringList::ConstIterator lit = langs.begin(); lit!=langs.end(); ++lit) { |