better naming

This commit is contained in:
2022-12-16 16:06:44 +01:00
parent 1191e18e89
commit c04cd803a2
2 changed files with 6 additions and 4 deletions

View File

@ -2,12 +2,14 @@
import sys
from PyQt5.QtWidgets import QApplication
from mainwin import MainWindow
from theme import theme
import ctrl_c
import theme
from mainwin import MainWindow
app = QApplication(sys.argv)
theme(app)
theme.apply(app)
ctrl_c.setup(app)
mw = MainWindow()
mw.show()

View File

@ -15,7 +15,7 @@ GREY3 = QColor(125, 125, 125) # light
MDI_BKG = QColor(150, 150, 150)
def theme(app):
def apply(app):
app.setStyle("Fusion")
pal = QPalette()