summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/systeminfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-12-05 13:14:43 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-12-05 13:44:37 +0100
commit0e315e848ae7ea5b226af4ab16c215119cbd3fb3 (patch)
treeeed592e48bbd636ecdc02d65f7befbf213584faf /rbutil/rbutilqt/base/systeminfo.cpp
parentac5fc26085e390cb55a3a5fd186a8091adcae2d4 (diff)
downloadrockbox-0e315e848a.tar.gz
rockbox-0e315e848a.tar.bz2
rockbox-0e315e848a.zip
rbutil: Rework handling of available voice languages.
- Move Rockbox voice language names handling to PlayerBuildInfo, and handle it similarly to the rest of the device specific values. Rework internal handling to simplify things. - Enable language list from build server for installing prerendered voice files other than english. - Extend unit tests. Change-Id: I1a1a717fa4409fa965dabc86f52d52a4fc516315
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.cpp')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.cpp b/rbutil/rbutilqt/base/systeminfo.cpp
index 6717b120cc..2b39300930 100644
--- a/rbutil/rbutilqt/base/systeminfo.cpp
+++ b/rbutil/rbutilqt/base/systeminfo.cpp
@@ -38,26 +38,6 @@ void SystemInfo::ensureSystemInfoExists()
}
-QMap<QString, QStringList> SystemInfo::languages(bool namesOnly)
-{
- ensureSystemInfoExists();
-
- QMap<QString, QStringList> result;
- systemInfos->beginGroup("languages");
- QStringList a = systemInfos->childKeys();
- for(int i = 0; i < a.size(); i++)
- {
- QStringList data = systemInfos->value(a.at(i), "null").toStringList();
- if(namesOnly)
- result.insert(data.at(0), QStringList(data.at(1)));
- else
- result.insert(a.at(i), data);
- }
- systemInfos->endGroup();
- return result;
-}
-
-
QMap<int, QStringList> SystemInfo::usbIdMap(enum MapType type)
{
ensureSystemInfoExists();