--- infoscreen/MainView.cpp 2010/01/07 16:40:45 531 +++ infoscreen/MainView.cpp 2010/01/07 16:44:17 532 @@ -19,6 +19,7 @@ { this->resize(400,400); this->setWindowState( Qt::WindowFullScreen ); + this->grabKeyboard(); qApp->setOverrideCursor( QCursor( Qt::BlankCursor) ); @@ -51,6 +52,11 @@ } +void MainView::keyPressEvent ( QKeyEvent* event ) +{ + Q_UNUSED(event); + qApp->quit(); +} void MainView::onTimer() {