diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-02-27 22:21:35 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-03-04 20:20:30 +0100 |
commit | 19512e988bff813d166a3fbd911eb5e83e051903 (patch) | |
tree | feab4ccf851ae7ddb50af5b2e54a85d3b1969028 /scripts/keytester.py | |
parent | 880da2d1432222248fec66481f578f8ba62bc71a (diff) | |
download | qutebrowser-19512e988bff813d166a3fbd911eb5e83e051903.tar.gz qutebrowser-19512e988bff813d166a3fbd911eb5e83e051903.zip |
Expose less from keyutils publicly
Diffstat (limited to 'scripts/keytester.py')
-rw-r--r-- | scripts/keytester.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/keytester.py b/scripts/keytester.py index 4d27a3dd1..ee5eb347c 100644 --- a/scripts/keytester.py +++ b/scripts/keytester.py @@ -41,7 +41,7 @@ class KeyWidget(QWidget): def keyPressEvent(self, e): """Show pressed keys.""" lines = [ - str(keyutils.keyevent_to_string(e)), + str(keyutils.KeyInfo.from_event(e)), '', 'key: 0x{:x}'.format(int(e.key())), 'modifiers: 0x{:x}'.format(int(e.modifiers())), |