FreeClipboardData shouldn't free clip_data
Use Q_free/Q_malloc
unnecessary check
Give 3 / 22 keycodes useful names