remove unnecessary stuff
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user