mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
www/qutebrowser: update to 1.3.3
Drop patch removing QtQuickWidgets dependency as it was removed upstream.
This commit is contained in:
parent
6df443ad65
commit
cdd6fe1cee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473178
3 changed files with 4 additions and 29 deletions
|
@ -1,8 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= qutebrowser
|
||||
DISTVERSION= 1.3.2
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.3.3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= CHEESESHOP
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1528793956
|
||||
SHA256 (qutebrowser-1.3.2.tar.gz) = ff4bf5f74e6ba4f76e5bee8ab5c370c0fb8bbd99123592262c09605c5065c27f
|
||||
SIZE (qutebrowser-1.3.2.tar.gz) = 3535391
|
||||
TIMESTAMP = 1529756429
|
||||
SHA256 (qutebrowser-1.3.3.tar.gz) = 68cab76dbd23ef77c29865a80e3eb508a3b5392e9f190c497f8a93dada5c9906
|
||||
SIZE (qutebrowser-1.3.3.tar.gz) = 3536053
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
--- qutebrowser/browser/webengine/webview.py.orig 2018-06-10 13:42:47 UTC
|
||||
+++ qutebrowser/browser/webengine/webview.py
|
||||
@@ -24,7 +24,6 @@ import functools
|
||||
import sip
|
||||
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QUrl, PYQT_VERSION
|
||||
from PyQt5.QtGui import QPalette
|
||||
-from PyQt5.QtQuickWidgets import QQuickWidget
|
||||
from PyQt5.QtWebEngineWidgets import (QWebEngineView, QWebEnginePage,
|
||||
QWebEngineScript)
|
||||
|
||||
@@ -72,9 +71,10 @@ class WebEngineView(QWebEngineView):
|
||||
if proxy is not None:
|
||||
return proxy
|
||||
|
||||
- # This should only find the RenderWidgetHostViewQtDelegateWidget,
|
||||
- # but not e.g. a QMenu
|
||||
- children = self.findChildren(QQuickWidget)
|
||||
+ # We don't want e.g. a QMenu.
|
||||
+ rwhv_class = 'QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget'
|
||||
+ children = [child for child in self.findChildren(QWidget)
|
||||
+ if child.inherits(rwhv_class)]
|
||||
|
||||
if not children:
|
||||
return None
|
Loading…
Add table
Reference in a new issue