Fix in icon.pnmg
This commit is contained in:
parent
305b6060fa
commit
a2ff569cff
1 changed files with 4 additions and 1 deletions
|
|
@ -125,7 +125,10 @@ app = QApplication([])
|
||||||
app.setQuitOnLastWindowClosed(False)
|
app.setQuitOnLastWindowClosed(False)
|
||||||
|
|
||||||
# Adding an icon
|
# Adding an icon
|
||||||
icon = QIcon("./icon.png")
|
|
||||||
|
icon_png=os.path.realpath(os.path.dirname(__file__))+'/icon.png'
|
||||||
|
|
||||||
|
icon = QIcon(icon_png)
|
||||||
|
|
||||||
# Adding item on the menu bar
|
# Adding item on the menu bar
|
||||||
tray = QSystemTrayIcon()
|
tray = QSystemTrayIcon()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue