Added Ctrl-Q and Ctrl-W shortcuts.
authorPiotr Esden-Tempski <piotr@esden.net>
Fri, 3 Mar 2017 07:31:04 +0000 (23:31 -0800)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 3 Mar 2017 20:46:10 +0000 (21:46 +0100)
commit763945bb95fb3f5871d8b8241c8d9db2f0f66d4c
tree4bf30cba35c3458176775ad0687139e92f1244d7
parent45cb64fff7ebf16381bb567e33c22a9ff6f78cd8
Added Ctrl-Q and Ctrl-W shortcuts.

Ctrl-Q is commonly used to close the application, and Ctrl-W usually is
used to close the current tab. According to the Qt::Modifier
documentation this setup should work seamlessly on Mac OS where Meta is
usually used in place of Ctrl.

This fixes bug #899.
pv/mainwindow.cpp
pv/mainwindow.hpp