mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-03 09:29:38 +00:00
add android back button key filter
This commit is contained in:
parent
a6606a3330
commit
418e4816d4
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ bool filter::eventFilter(QObject *obj, QEvent *ev) {
|
|||
m_tabPressed = false;
|
||||
|
||||
QString sks;
|
||||
#ifdef Q_OS_ANDROID
|
||||
if(ke->key() == Qt::Key_Back) {
|
||||
qDebug() << "Android back hit";
|
||||
sks = "android_back";
|
||||
}
|
||||
#endif
|
||||
if(ke->key() == Qt::Key_Control) {
|
||||
sks = "Ctrl";
|
||||
#ifdef Q_OS_MAC
|
||||
|
|
Loading…
Reference in a new issue