mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
added logic for removing book download url on download complete
This commit is contained in:
parent
894e9a1b02
commit
31e63e0d9f
@ -149,6 +149,8 @@ QStringList ContentManager::updateDownloadInfos(QString id, const QStringList &k
|
||||
b.setPath(QDir::toNativeSeparators(tmp).toStdString());
|
||||
b.setDownloadId("");
|
||||
b.setPathValid(true);
|
||||
// removing book url so that download link in kiwix-serve is not displayed.
|
||||
b.setUrl("");
|
||||
mp_library->save();
|
||||
mp_library->bookmarksChanged();
|
||||
if (!m_local) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user