diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-18 10:58:04 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-30 10:34:35 +0200 |
commit | 8546f48bb7291b1de621e9356ab8e399663258e2 (patch) | |
tree | bff7622117a1c5f80a016d98eb45a1f57e9d28cb /qutebrowser/misc/elf.py | |
parent | bd3130e8afad31670c3fa7ee38e88a21ed8a8ad1 (diff) | |
download | qutebrowser-8546f48bb7291b1de621e9356ab8e399663258e2.tar.gz qutebrowser-8546f48bb7291b1de621e9356ab8e399663258e2.zip |
Rename version.is_sandboxed() to is_flatpak()
(cherry picked from commit 5ce8a9c9c19e2aaec591b191d3c3efebd1957fa7)
For easier backporting of changes.
Diffstat (limited to 'qutebrowser/misc/elf.py')
-rw-r--r-- | qutebrowser/misc/elf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/elf.py b/qutebrowser/misc/elf.py index 6d35eecb4..18cb9634c 100644 --- a/qutebrowser/misc/elf.py +++ b/qutebrowser/misc/elf.py @@ -310,7 +310,7 @@ def _parse_from_file(f: IO[bytes]) -> Versions: def parse_webenginecore() -> Optional[Versions]: """Parse the QtWebEngineCore library file.""" - if version.is_sandboxed(): + if version.is_flatpak(): # Flatpak has Qt in /usr/lib/x86_64-linux-gnu, but QtWebEngine in /app/lib. library_path = pathlib.Path("/app/lib") else: |