Skip to content

Commit

Permalink
fix(ui): We no longer use PyQt5, so don't import Qt version for checking
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp committed Dec 23, 2024
1 parent 24fafdf commit c873e33
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/bundles/ui/src/widgets/htmlview.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,7 @@ def delete_profile(profile):
del profile._handlers
del profile._scheme_handler
del profile._schemes
from Qt.QtCore import QT_VERSION
if QT_VERSION < 0x050d00:
profile.setRequestInterceptor(None)
else:
profile.setUrlRequestInterceptor(None)
profile.setUrlRequestInterceptor(None)


class HtmlView(QWebEngineView):
Expand Down

0 comments on commit c873e33

Please sign in to comment.