Set window icon
This commit is contained in:
parent
2c13709075
commit
a29d14ea54
@ -19,6 +19,7 @@ sp = pUp(s)
|
||||
|
||||
# script start
|
||||
import qtpy
|
||||
import qtpy.QtGui as QtGui
|
||||
from qtpy.QtGui import *
|
||||
from qtpy.QtWidgets import *
|
||||
from qtpy.QtCore import *
|
||||
@ -145,6 +146,10 @@ def main():
|
||||
config.read(p(dataDir,"config.ini"))
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
try:
|
||||
app.setWindowIcon(QtGui.QIcon("assets/BirdyNet-XP.ico"))
|
||||
except Exception as e:
|
||||
print("Could not set window icon: " +print(e))
|
||||
window = browserWindow()
|
||||
sys.exit(app.exec_())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user