Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3e4dba

Browse files
committed
qtargs: Remove old workaround with Qt 6.10.1
1 parent4164205 commitb3e4dba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎qutebrowser/config/qtargs.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,9 @@ def _qtwebengine_features( # noqa: C901
159159
# TODO adjust if fixed in Qt 6.9.2+
160160
disabled_features.append('DocumentPictureInPictureAPI')
161161

162-
ifversions.webengine>=utils.VersionNumber(6,9):
162+
ifutils.VersionNumber(6,9)<=versions.webengine<utils.VersionNumber(6,10,1):
163163
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-135787
164164
# and https://bugreports.qt.io/browse/QTBUG-141096
165-
# TODO adjust if fixed in Qt 6.9.2+
166165
disabled_features.append('PermissionElement')
167166

168167
ifnotconfig.val.input.media_keys:

‎tests/unit/config/test_qtargs.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,9 @@ def test_installedapp_workaround(self, parser, version_patcher, qt_version, has_
471471
# Qt 6.9
472472
('6.9.0',"DocumentPictureInPictureAPI,PermissionElement"),
473473
('6.9.1',"DocumentPictureInPictureAPI,PermissionElement"),
474+
# Qt 6.10
475+
('6.10.0',"DocumentPictureInPictureAPI,PermissionElement"),
476+
('6.10.1',"DocumentPictureInPictureAPI"),
474477
])
475478
deftest_disable_feature_workaround(
476479
self,parser,version_patcher,qt_version,disabled

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp