From e41b9db787afbe1384abdac0a7f28aa22f49e51c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 3 Jan 2016 00:47:43 +0800 Subject: [PATCH] gui: minor cleanup --- artiq/frontend/artiq_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_gui.py b/artiq/frontend/artiq_gui.py index 474629587..9ce3aa151 100755 --- a/artiq/frontend/artiq_gui.py +++ b/artiq/frontend/artiq_gui.py @@ -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)