diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-02-27 09:36:56 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-02-27 09:36:56 +0100 |
commit | c0e2550046e48db647189c21a573d0ed5ac20090 (patch) | |
tree | 18fb54f13df281ced928e302760e4253dbb8e606 /scripts/keytester.py | |
parent | 362f923f06cecbdcc211ad3063cdefd6935d7b8a (diff) | |
download | qutebrowser-c0e2550046e48db647189c21a573d0ed5ac20090.tar.gz qutebrowser-c0e2550046e48db647189c21a573d0ed5ac20090.zip |
Fix scripts.keytester
Diffstat (limited to 'scripts/keytester.py')
-rw-r--r-- | scripts/keytester.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/keytester.py b/scripts/keytester.py index 80260f6bf..4d27a3dd1 100644 --- a/scripts/keytester.py +++ b/scripts/keytester.py @@ -25,7 +25,7 @@ Use python3 -m scripts.keytester to launch it. from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QHBoxLayout -from qutebrowser.utils import utils +from qutebrowser.keyinput import keyutils class KeyWidget(QWidget): @@ -41,7 +41,7 @@ class KeyWidget(QWidget): def keyPressEvent(self, e): """Show pressed keys.""" lines = [ - str(utils.keyevent_to_string(e)), + str(keyutils.keyevent_to_string(e)), '', 'key: 0x{:x}'.format(int(e.key())), 'modifiers: 0x{:x}'.format(int(e.modifiers())), |