Skip to content
Browse files

Check for Qubes-OS from 'QREXEC_REMOTE_DOMAIN' var

Fixes #232
  • Loading branch information...
crwood committed Jul 11, 2019
1 parent 40efa5e commit c48d8c320ba9f8a836cbb8fd70659aa0442ac5cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 gridsync/
@@ -10,7 +10,7 @@
from PyQt5.QtWidgets import QApplication, QCheckBox, QMessageBox

# These Qt attributes must be set *before* initializing a QApplication...
if os.environ.get('QUBES_ENV_SOURCED'):
if os.environ.get('QREXEC_REMOTE_DOMAIN'):
# On Qubes-OS, setting AA_EnableHighDpiScaling to 'True', *always* doubles
# the window-size -- even on lower-resolution (1080p) displays -- but does
# not do the same for font-sizes.

0 comments on commit c48d8c3

Please sign in to comment.
You can’t perform that action at this time.