|
|
@ -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): |
|
|
|