ui: use enum to string helpers
commitc809d1d2f4e3d40d4767871d3cf9cd78391e5a4f
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 1 Aug 2018 09:25:08 +0000 (1 11:25 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 24 Aug 2018 06:40:10 +0000 (24 08:40 +0200)
tree194bb9d8907dd13eac1cd25e8049aaafd11335ac
parent0ae0b069aa8f23a138cc6d2d83edaa5c22f948a5
ui: use enum to string helpers

Minor code simplification.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20180801092508.4927-1-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qemu-keymap.c
ui/console.c