Browse Source

Try to make sure our color scheme is actually used

master
Nils 4 years ago
parent
commit
dd51833f09
  1. 5
      engine/start.py

5
engine/start.py

@ -78,7 +78,8 @@ Nuitka complies that in, when make is finished we delete it.
import sys
import os
import os.path
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWidgets import QApplication, QStyleFactory
logger.info(f"Python Version {sys.version}")
@ -133,6 +134,8 @@ QApplication.setDesktopSettingsAware(False) #We need our own font so the user i
QApplication.setDesktopFileName(PATHS["desktopfile"])
qtApp = QApplication(sys.argv)
setPaletteAndFont(qtApp)
QApplication.setStyle(QStyleFactory.create("Fusion"))
setPaletteAndFont(qtApp)
def exitWithMessage(message:str):

Loading…
Cancel
Save