From 27468a81da8c2d3c8c7fa5d1d3933b819ec81267 Mon Sep 17 00:00:00 2001 From: sr Date: Wed, 6 Feb 2013 20:07:27 +0100 Subject: [SERVER] Get "stop projection" right [CLIENT] Redraw whole screen on projection start --- src/client/vnc/vncwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/vnc/vncwindow.cpp') diff --git a/src/client/vnc/vncwindow.cpp b/src/client/vnc/vncwindow.cpp index aea2362..6cbb23e 100644 --- a/src/client/vnc/vncwindow.cpp +++ b/src/client/vnc/vncwindow.cpp @@ -108,7 +108,7 @@ void VncWindow::onThreadFinished() void VncWindow::onProjectionStarted() { emit running(true, _clientId); - _redrawTimer = startTimer(200); + _redrawTimer = startTimer(2000); } //////////////////////////////////////////////////////////////////////////////// @@ -135,7 +135,7 @@ void VncWindow::paintEvent(QPaintEvent *event) void VncWindow::resizeEvent(QResizeEvent* event) { _vncWorker->setTargetSize(event->size()); - this->repaint(); + _redrawTimer = startTimer(1000); } void VncWindow::draw(const int x, const int y, const int w, const int h) -- cgit v1.2.3-55-g7522