13.19d: 2190a1b verified; sizeLabel's ties tested; tests read optionals through value(); two mask tests brought to 13.12

This commit is contained in:
ZacharyZhang-NY committed 2026-10-03 19:16:59 -04:00
1 parent ab34fd6ace
commit 3757eb8910
40 files changed
+233 -220

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ void WritingProjectsGuideTests::hsvSettingsWinOverTheLegacyFields()
QJsonObject adjustment = layer.value(QStringLiteral("adjustment")).toObject();
adjustment.insert(QStringLiteral("hue"), legacyHue);
if (masterHue) {
const QJsonObject values{{"hue", *masterHue}, {"saturation", 0}, {"lightness", 0}};
const QJsonObject values{{"hue", masterHue.value()}, {"saturation", 0}, {"lightness", 0}};
adjustment.insert(QStringLiteral("hsvSettings"), QJsonObject{{"range", "Master"}, {"colorize", false}, {"invertRange", false},
{"adjustments", QJsonArray{"Master", values}}, {"bands", QJsonArray{}}});
}