forked from awendt/pyrelacs
[resources] add some icons
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
import pathlib
|
||||
|
||||
from PyQt6.QtCore import QSettings
|
||||
from PyQt6.QtCore import QSettings, Qt
|
||||
from PyQt6.QtWidgets import QApplication
|
||||
|
||||
from . import info
|
||||
@@ -9,6 +9,7 @@ from .ui.mainwindow import PyRelacs
|
||||
from .util.logging import config_logging
|
||||
log = config_logging()
|
||||
|
||||
from . import resources
|
||||
|
||||
class PyRelacs(QMainWindow):
|
||||
def __init__(self):
|
||||
@@ -171,6 +172,7 @@ def main():
|
||||
app.setApplicationName(info.NAME)
|
||||
app.setApplicationVersion(str(info.VERSION))
|
||||
app.setOrganizationDomain(info.ORGANIZATION)
|
||||
# app.setAttribute(Qt.ApplicationAttribute.AA_DontShowIconsInMenus, False)
|
||||
|
||||
# read window settings
|
||||
settings = QSettings(info.ORGANIZATION, info.NAME)
|
||||
|
||||
Reference in New Issue
Block a user