Remove legacy opds settings from web page
This commit is contained in:
1 parent
2d97fd2a5a
commit
7f121defa8
2 files changed
+2
-12
No files matched your search
@@ -411,9 +411,8 @@ void OpdsBookBrowserActivity::downloadBook(const OpdsEntry& book, const OpdsAcqu
|
||||
downloadTotal = 0;
|
||||
requestUpdate(true);
|
||||
|
||||
std::string downloadUrl = (acquisition.href.rfind("http", 0) == 0)
|
||||
? acquisition.href
|
||||
: UrlUtils::buildUrl(server.url, acquisition.href);
|
||||
std::string downloadUrl =
|
||||
(acquisition.href.rfind("http", 0) == 0) ? acquisition.href : UrlUtils::buildUrl(server.url, acquisition.href);
|
||||
std::string filename = "/" +
|
||||
StringUtils::sanitizeFilename((book.author.empty() ? "" : book.author + " - ") + book.title) +
|
||||
acquisition.fileExtension;
|
||||
|
||||
Reference in new issue
Block a user