From c7edb8e1f294c70c34a3529fdde6341dcdd28e56 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Jan 2016 07:14:49 +0100 Subject: [PATCH] Make QApplication available to :debug-pyeval. --- qutebrowser/misc/utilcmds.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qutebrowser/misc/utilcmds.py b/qutebrowser/misc/utilcmds.py index 1c506caab..d8d664c9f 100644 --- a/qutebrowser/misc/utilcmds.py +++ b/qutebrowser/misc/utilcmds.py @@ -35,6 +35,8 @@ from qutebrowser.config import style from qutebrowser.misc import consolewidget from PyQt5.QtCore import QUrl +# so it's available for :debug-pyeval +from PyQt5.QtWidgets import QApplication # pylint: disable=unused-import @cmdutils.register(maxsplit=1, no_cmd_split=True, win_id='win_id')