Skip to content

Commit

Permalink
Maybe fix #46
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed May 31, 2018
1 parent aa41d63 commit f881e74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/gui.py
Expand Up @@ -7,6 +7,12 @@
import PyQt5.QtCore


if hasattr(PyQt5.QtCore.Qt, 'AA_EnableHighDpiScaling'):
PyQt5.QtWidgets.QApplication.setAttribute(PyQt5.QtCore.Qt.AA_EnableHighDpiScaling, True)

if hasattr(PyQt5.QtCore.Qt, 'AA_UseHighDpiPixmaps'):
PyQt5.QtWidgets.QApplication.setAttribute(PyQt5.QtCore.Qt.AA_UseHighDpiPixmaps, True)

class ApplicationThread(PyQt5.QtCore.QThread):
def __init__(self, application, port=5000):
super(ApplicationThread, self).__init__()
Expand Down

0 comments on commit f881e74

Please sign in to comment.