Fix to the QT key press issues I had (seems a QMap was the best fit)