remove unnecessary stuff

This commit is contained in:
2022-08-28 08:45:23 +02:00
parent 32028a54b9
commit 23cdc14b3b
3 changed files with 0 additions and 41 deletions

View File

@@ -5,7 +5,6 @@ from pathlib import Path
class Icon(QIcon):
def __init__(self, file_name: str):
super(Icon, self).__init__("%s" % Path(__file__).parent.parent.parent.joinpath(file_name).absolute())
print("%s -> %s" % (file_name, Path(__file__).parent.parent.parent.joinpath(file_name).absolute()))
def fromTheme(icon_from_theme: str) -> QIcon:
return QIcon.fromTheme(icon_from_theme)