|
|
@ -144,11 +144,11 @@ 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"]) |
|
|
|
#QtGui.QGuiApplication.setDesktopSettingsAware(False) #This will crash with new Qt! |
|
|
|
qtApp = QApplication(sys.argv) |
|
|
|
setPaletteAndFont(qtApp) |
|
|
|
|
|
|
|
QApplication.setStyle(QStyleFactory.create("Fusion")) |
|
|
|
setPaletteAndFont(qtApp) |
|
|
|
|
|
|
|
def exitWithMessage(message:str): |
|
|
|
title = f"""{METADATA["name"]} Error""" |
|
|
|