booru: fix inconsistent download

This commit is contained in:
end-4
2025-08-08 17:50:20 +07:00
parent d3a9d2ea5b
commit 772df06fa5
2 changed files with 2 additions and 2 deletions
@@ -15,7 +15,7 @@ Button {
id: root id: root
property var imageData property var imageData
property var rowHeight property var rowHeight
property bool manualDownload: true property bool manualDownload: false
property string previewDownloadPath property string previewDownloadPath
property string downloadPath property string downloadPath
property string nsfwPath property string nsfwPath
@@ -237,7 +237,7 @@ Rectangle {
rowHeight: imageRow.rowHeight rowHeight: imageRow.rowHeight
imageRadius: imageRow.modelData.images.length == 1 ? 50 : Appearance.rounding.normal imageRadius: imageRow.modelData.images.length == 1 ? 50 : Appearance.rounding.normal
// Download manually to reduce redundant requests or make sure downloading works // Download manually to reduce redundant requests or make sure downloading works
// manualDownload: ["danbooru", "waifu.im", "t.alcy.cc"].includes(root.responseData.provider) manualDownload: ["danbooru", "waifu.im", "t.alcy.cc"].includes(root.responseData.provider)
previewDownloadPath: root.previewDownloadPath previewDownloadPath: root.previewDownloadPath
downloadPath: root.downloadPath downloadPath: root.downloadPath
nsfwPath: root.nsfwPath nsfwPath: root.nsfwPath