2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

gui: minor cleanup

This commit is contained in:
Sebastien Bourdeauducq 2016-01-03 00:47:43 +08:00
parent 6007b64898
commit e41b9db787

View File

@ -36,7 +36,7 @@ def get_argparser():
class MainWindow(QtGui.QMainWindow):
def __init__(self, app, server):
def __init__(self, server):
QtGui.QMainWindow.__init__(self)
icon = QtGui.QIcon(os.path.join(artiq_dir, "gui", "icon.png"))
self.setWindowIcon(icon)
@ -85,7 +85,7 @@ def main():
sub_clients[notifier_name] = subscriber
# initialize main window
win = MainWindow(app, args.server)
win = MainWindow(args.server)
dock_area = dockarea.DockArea()
smgr.register(dock_area)
smgr.register(win)