feat(qt): Settings > Storage — every on-disk cache in one section

Offline downloads, the artwork cache, the lyrics cache, the Plex mirror and
the playback cache (memory profile + storage folder) move to a new Storage
section, each row keeping the bridge verb it had. Offline keeps the mode
rows, Playback keeps the behaviour rows, Plex keeps Disconnect.

cc
This commit is contained in:
vicrodh committed 2026-09-13 09:09:30 -06:00
1 parent 903952cacb
commit 29710342a2
15 files changed
+551 -368

No files matched your search

+6 -2
View File
@@ -5,7 +5,10 @@ import "../../crates/qbz-qt/qml/settings" as Settings
Item {
width: 1000; height: 2800
Settings.PlaybackSettings { id: settings; width: 950 }
// The playback cache lives in Settings > Storage (2026-09-13); Playback
// keeps the behaviour rows (gapless).
Settings.StorageSettings { id: settings; width: 950 }
Settings.PlaybackSettings { id: playback; width: 950 }
QtObject {
id: confirmation
property var pending: null
@@ -23,7 +26,7 @@ Item {
waitForRendering(settings)
}
function row(label) {
var pending = [settings]
var pending = [settings, playback]
while (pending.length) {
const item = pending.pop()
if (item.label === label && item.control !== undefined) return item
@@ -55,6 +58,7 @@ Item {
}
function test_streaming_only_keeps_gapless_available() {
seed(false, null, null, true)
playback.doc = settings.doc
const gapless = control("Gapless playback")
verify(gapless.enabled)
mouseClick(gapless)