mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
gui: set application name in Gnome task switcher
Non-hacky suggestions welcome.
This commit is contained in:
parent
597d7c389e
commit
bcfb01bc7e
@ -79,7 +79,7 @@ def main():
|
||||
args = get_argparser().parse_args()
|
||||
init_logger(args)
|
||||
|
||||
app = QtWidgets.QApplication([])
|
||||
app = QtWidgets.QApplication(["ARTIQ Browser"])
|
||||
loop = QEventLoop(app)
|
||||
asyncio.set_event_loop(loop)
|
||||
atexit.register(loop.close)
|
||||
|
@ -87,7 +87,7 @@ def main():
|
||||
args = get_argparser().parse_args()
|
||||
init_logger(args)
|
||||
|
||||
app = QtWidgets.QApplication([])
|
||||
app = QtWidgets.QApplication(["ARTIQ Dashboard"])
|
||||
loop = QEventLoop(app)
|
||||
asyncio.set_event_loop(loop)
|
||||
atexit.register(loop.close)
|
||||
|
Loading…
Reference in New Issue
Block a user