Skip to content

Commit

Permalink
Remove High DPI settings. (Enabled by default in Qt 6 (https://doc.qt…
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Jan 28, 2023
1 parent 49f7450 commit e798728
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pix2tex/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
from pix2tex import cli
from pix2tex.utils import in_model_path

QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)


class App(QMainWindow):
isProcessing = False

Expand Down

0 comments on commit e798728

Please sign in to comment.