summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteffen Ritter2018-10-04 16:55:38 +0200
committerSteffen Ritter2018-10-04 16:55:38 +0200
commit7ef702d5e3b3668164b94d9c5f9c7c2f37321798 (patch)
treeeb0989b0268e327a3216c3f2b01daeacf33910b9 /src
parent[server] Use MSecs not Secs so we don't require Qt 5.8+ (diff)
downloadpvs2-7ef702d5e3b3668164b94d9c5f9c7c2f37321798.tar.gz
pvs2-7ef702d5e3b3668164b94d9c5f9c7c2f37321798.tar.xz
pvs2-7ef702d5e3b3668164b94d9c5f9c7c2f37321798.zip
[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
Diffstat (limited to 'src')
-rw-r--r--src/client/vnc/vncwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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);