Open Recent, print sizes through an invalid resolution, Color Grading under Color (12.14b)

This commit is contained in:
雷电芽衣 committed 2026-09-30 01:43:23 -04:00
1 parent 94b884a2ef
commit 2183348aa6
21 files changed
+717 -38

No files matched your search

+5
View File
@@ -4,6 +4,7 @@
#include <QApplication>
#include <QDir>
#include <QLabel>
#include <QMessageBox>
#include <QStyle>
#include <QStyleFactory>
#include <QTemporaryDir>
@@ -202,6 +203,10 @@ void OmarchyThemeTests::withoutAThemeTheBuiltInDarkApplies()
QCOMPARE(QApplication::palette().color(QPalette::PlaceholderText), QColor(0x8a, 0x8a, 0x8a));
QCOMPARE(QApplication::palette().color(QPalette::BrightText), QColor(0xff, 0x9f, 0x0a));
QCOMPARE(QApplication::style()->objectName(), QString("fusion"));
// Swift's d62a132: alerts are dark too.
QMessageBox alert(QMessageBox::Warning, QStringLiteral("Title"), QStringLiteral("Text"));
QCOMPARE(alert.palette().color(QPalette::Window), QColor(0x24, 0x24, 0x24));
QCOMPARE(alert.style()->objectName(), QString("fusion"));
Swatch swatch;
QCOMPARE(swatch.pixel(), qRgb(0x24, 0x24, 0x24));
// A theme appearing later is taken up, unnamed or not.