From 7ef702d5e3b3668164b94d9c5f9c7c2f37321798 Mon Sep 17 00:00:00 2001 From: Steffen Ritter Date: Thu, 4 Oct 2018 16:55:38 +0200 Subject: [client] Stop projection on any key press But only if the client is connected to a local PVS-Mgr e.g. in hybrid mode. Closes #3424 --- src/client/vnc/vncwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/vnc/vncwindow.cpp b/src/client/vnc/vncwindow.cpp index a9d85f4..f7b6a3e 100644 --- a/src/client/vnc/vncwindow.cpp +++ b/src/client/vnc/vncwindow.cpp @@ -385,7 +385,7 @@ void VncWindow::paintEvent(QPaintEvent *event) */ void VncWindow::keyReleaseEvent(QKeyEvent* event) { - if (event->modifiers() == 0 && event->key() == Qt::Key_Escape && clientApp->isConnectedToLocalManager()) { + if (event->modifiers() == 0 && clientApp->isConnectedToLocalManager()) { this->close(); } else { QWidget::keyReleaseEvent(event); -- cgit v1.2.3-55-g7522