summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 21:01:36 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 21:01:36 +0100
commit104ff3433a9f26009751cbd317d0024742d1310b (patch)
tree3bb5b2bad788ba6946212de3a97ebf1d39ed2682 /rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
parent2b2a7b9ae340e2f7273c79ebb8d6140b8fd7aa35 (diff)
downloadrockbox-104ff3433a.tar.gz
rockbox-104ff3433a.tar.bz2
rockbox-104ff3433a.zip
rbutil: Rework server info data handling.
Don't create our own in-memory map with server data. Instead use the configuration file retrieved from the download server, and do the resolve / replacement on the fly. Simplifies things, and prepares for cleaner handling for different build types. Change-Id: Ifd027b21486e402fda3df9c2f7a30264651f733d
Diffstat (limited to 'rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp')
-rw-r--r--rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp b/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
index c223dee555..7d2016d6bd 100644
--- a/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
+++ b/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
@@ -42,8 +42,7 @@ QVariant SystemInfo::value(SystemInfo::SystemInfos info)
{
switch(info) {
case SystemInfo::ManualUrl:
- //return QString("https://unittest/manual/rockbox-%MODEL%%FORMAT%");
- return QString("https://unittest/manual/%MANUALBASENAME%.%EXTENSION%");
+ return QString("https://unittest/manual/rockbox-%MODEL%%FORMAT%");
break;
case SystemInfo::BleedingUrl:
return QString("https://unittest/dev/rockbox-%MODEL%.zip");