diff options
author | Jimmy <jimmy@spalge.com> | 2022-04-04 17:35:04 +1200 |
---|---|---|
committer | Jimmy <jimmy@spalge.com> | 2022-04-04 18:03:54 +1200 |
commit | e9ed6456fd38abe6d9269bb4f3842c95dc11dfba (patch) | |
tree | 660eb986a3dc2a7edd30329143de56c92eafcbad /README.asciidoc | |
parent | d0c1d1ff94d24376efc3c08c0bb85e0da48cbcbf (diff) | |
download | qutebrowser-e9ed6456fd38abe6d9269bb4f3842c95dc11dfba.tar.gz qutebrowser-e9ed6456fd38abe6d9269bb4f3842c95dc11dfba.zip |
Load icons via importlib.resources
The PyQt resources system is gone in 6.2 and deprecated before that. This
should be the last usage of it.
Switches icons to be read with `utils.resources.read_file_binary()` in
`notification.py` (fallback desktop notification icon) and `app.py` (icon for
the desktop window).
importlib only loads resources under a package, so the icons are moved under
the `qutebrowser/` directory.
Closes: #6062
Diffstat (limited to 'README.asciidoc')
-rw-r--r-- | README.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.asciidoc b/README.asciidoc index bb1f2562c..d1bb9ee98 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -7,7 +7,7 @@ qutebrowser =========== // QUTE_WEB_HIDE -image:icons/qutebrowser-64x64.png[qutebrowser logo] *A keyboard-driven, vim-like browser based on PyQt5 and Qt.* +image:qutebrowser/icons/qutebrowser-64x64.png[qutebrowser logo] *A keyboard-driven, vim-like browser based on PyQt5 and Qt.* image:https://github.com/qutebrowser/qutebrowser/workflows/CI/badge.svg["Build Status", link="https://github.com/qutebrowser/qutebrowser/actions?query=workflow%3ACI"] image:https://codecov.io/github/qutebrowser/qutebrowser/coverage.svg?branch=master["coverage badge",link="https://codecov.io/github/qutebrowser/qutebrowser?branch=master"] |