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:
15 files changed
+551
-368
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user