- added application icon
This commit is contained in:
+3
-1
@@ -1,5 +1,5 @@
|
||||
from brewpi_win import Ui_MainWindow
|
||||
from PyQt5 import QtWidgets
|
||||
from PyQt5 import QtWidgets, QtGui
|
||||
import sys
|
||||
from ws.client.ws_client import WsClient
|
||||
from ws.message import MessageDispatcher
|
||||
@@ -11,6 +11,8 @@ from ws.connection import IConnection
|
||||
class Window(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
def __init__(self):
|
||||
QtWidgets.QMainWindow.__init__(self)
|
||||
self.setWindowIcon(QtGui.QIcon('res/fass.png'))
|
||||
|
||||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
self.msg_dispatch = MessageDispatcher(auto_subscribe=True, loop=loop)
|
||||
|
||||
Reference in New Issue
Block a user