mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Merge branch 'arts' into v0.0.8
This commit is contained in:
commit
c1f4aaf957
177 files changed
+331
-558
No files matched your search
+10
-1
@@ -28,7 +28,7 @@ from tools import logger_exception
|
||||
|
||||
from PyQt5 import QtGui
|
||||
from PyQt5.QtGui import (
|
||||
QKeySequence, QDesktopServices,
|
||||
QKeySequence, QDesktopServices, QIcon,
|
||||
)
|
||||
|
||||
from PyQt5.QtCore import (
|
||||
@@ -333,6 +333,15 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
self.update_enable_action()
|
||||
# self.showMaximized()
|
||||
|
||||
image = os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
"ui", "ressources",
|
||||
"Pamhyr2_logo.png"
|
||||
)
|
||||
)
|
||||
self.setWindowIcon(QIcon(image))
|
||||
|
||||
def set_debug_lvl(self, debug=True):
|
||||
if debug:
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
Reference in new issue
Block a user