Browse Source

lol, we don't even need qtgui here

master
Nils 4 years ago
parent
commit
2389a2a5af
  1. 7
      engine/start.py

7
engine/start.py

@ -79,7 +79,6 @@ import sys
import os
import os.path
from PyQt5.QtWidgets import QApplication
from PyQt5 import QtGui
logger.info(f"Python Version {sys.version}")
@ -130,10 +129,10 @@ else:
logger.info("PATHS: {}".format(PATHS))
#Construct QAppliction before constantsAndCOnfigs, which has the fontDB
QtGui.QGuiApplication.setDesktopSettingsAware(False) #We need our own font so the user interface stays predictable
QtGui.QGuiApplication.setDesktopFileName(PATHS["desktopfile"])
QApplication.setDesktopSettingsAware(False) #We need our own font so the user interface stays predictable
QApplication.setDesktopFileName(PATHS["desktopfile"])
qtApp = QApplication(sys.argv)
setPaletteAndFont(qtApp)
setPaletteAndFont(qtApp)
def exitWithMessage(message:str):

Loading…
Cancel
Save