refactor(qt): Offline cache and Playback cache return to their own sections
Settings > Storage keeps only the caches that have no section of their own: the artwork cache, the lyrics cache and the Plex mirror. The offline downloads group goes back to Offline and the playback cache (memory profile, usage, storage folder) back to Playback, since both configure the feature they sit next to rather than disk in general. Rows and bridge verbs are unchanged; the playback cache QML test instantiates PlaybackSettings again (16/16) and the .po location comments follow the artwork rows to Storage. cc
This commit is contained in:
13 files changed
+372
-377
No files matched your search
@@ -5,10 +5,7 @@ import "../../crates/qbz-qt/qml/settings" as Settings
|
||||
|
||||
Item {
|
||||
width: 1000; height: 2800
|
||||
// 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 }
|
||||
Settings.PlaybackSettings { id: settings; width: 950 }
|
||||
QtObject {
|
||||
id: confirmation
|
||||
property var pending: null
|
||||
@@ -26,7 +23,7 @@ Item {
|
||||
waitForRendering(settings)
|
||||
}
|
||||
function row(label) {
|
||||
var pending = [settings, playback]
|
||||
var pending = [settings]
|
||||
while (pending.length) {
|
||||
const item = pending.pop()
|
||||
if (item.label === label && item.control !== undefined) return item
|
||||
@@ -58,7 +55,6 @@ 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