summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-03-17 16:54:44 +0100
committerFlorian Bruhin <me@the-compiler.org>2023-03-17 17:27:37 +0100
commit9b7348a880f7a4473ad8adec8b600fc8572299f2 (patch)
tree47817b195951fadd820c35c7df480ec7935aee58
parent2d45f6f00249b0450a29b430799500abe914aab4 (diff)
downloadqutebrowser-9b7348a880f7a4473ad8adec8b600fc8572299f2.tar.gz
qutebrowser-9b7348a880f7a4473ad8adec8b600fc8572299f2.zip
Qt 6.5: Always use new dark mode values for newer Qt's
I don't quite understand why the value changed from #00000 to #121212 there with Qt 6.3, but it looks like the change is here to stay. Instead of keeping #000000 the default and adding an override for every new Qt release, let's just switch over and add an override for the old versions (5.15 and 6.2), so this won't break again for every new release. See #7624
-rw-r--r--tests/end2end/test_invocations.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index 3730c887f..7951d52ff 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -663,20 +663,20 @@ def test_cookies_store(quteproc_new, request, short_tmpdir, store):
'blank',
'lightness-hsl',
{
- # FIXME:qt6 Why #121212 rather than #000000?
- ('6.4', None): testutils.Color(18, 18, 18),
- ('6.3', None): testutils.Color(18, 18, 18),
- (None, None): testutils.Color(0, 0, 0),
+ ('5.15', None): testutils.Color(0, 0, 0),
+ ('6.2', None): testutils.Color(0, 0, 0),
+ # Qt 6.3+ (why #121212 rather than #000000?)
+ (None, None): testutils.Color(18, 18, 18),
}
),
(
'blank',
'brightness-rgb',
{
- # FIXME:qt6 Why #121212 rather than #000000?
- ('6.4', None): testutils.Color(18, 18, 18),
- ('6.3', None): testutils.Color(18, 18, 18),
- (None, None): testutils.Color(0, 0, 0)
+ ('5.15', None): testutils.Color(0, 0, 0),
+ ('6.2', None): testutils.Color(0, 0, 0),
+ # Qt 6.3+ (why #121212 rather than #000000?)
+ (None, None): testutils.Color(18, 18, 18),
}
),