From 4320bdf897f676290f4e031348c0dad2d3c18162 Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Tue, 2 Jun 2015 13:27:29 +0200 Subject: [PATCH] actionmenu (the first "physical button" now open the menu --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 40456a9..3106c0a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -809,11 +809,11 @@ void MainWindow::keyReleaseEvent(QKeyEvent *event) int k=event->key(); qDebug()<<"key pressed="<value(QString("actionmenu")).toString()); accepted=false; } - else if(k==Qt::Key_Back){ + else if*/(k==Qt::Key_Back){ action(conf->value(QString("menuback")).toString()); accepted=false; } -- 2.45.1