diff --git a/qt_ui/main.py b/qt_ui/main.py index 744f90de..d1aacdff 100644 --- a/qt_ui/main.py +++ b/qt_ui/main.py @@ -7,6 +7,7 @@ from pathlib import Path from typing import Optional from PySide2 import QtWidgets +from PySide2.QtCore import Qt from PySide2.QtGui import QPixmap from PySide2.QtWidgets import QApplication, QSplashScreen from dcs.payloads import PayloadDirectories @@ -62,6 +63,8 @@ def run_ui(game: Optional[Game]) -> None: os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "1" # Potential fix for 4K screens app = QApplication(sys.argv) + app.setAttribute(Qt.AA_DisableWindowContextHelpButton) + # init the theme and load the stylesheet based on the theme index liberation_theme.init() with open(