From: Norbert Moutarde Date: Tue, 2 Jun 2015 11:27:29 +0000 (+0200) Subject: actionmenu (the first "physical button" now open the menu X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=4320bdf897f676290f4e031348c0dad2d3c18162;p=diary-mobile.git actionmenu (the first "physical button" now open the menu --- 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; }