summaryrefslogtreecommitdiffstats
path: root/src/client/vnc/vncthread.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-04 17:28:01 +0100
committerSimon Rettberg2017-12-04 17:28:01 +0100
commit44212ee03b5fb74809decb89cb98e3fc2a86e928 (patch)
treefcd2ebd35d1ea20cca1631af77e0cf4e47783092 /src/client/vnc/vncthread.cpp
parent[server] Init qrand before creating main window, so session id is random (diff)
downloadpvs2-44212ee03b5fb74809decb89cb98e3fc2a86e928.tar.gz
pvs2-44212ee03b5fb74809decb89cb98e3fc2a86e928.tar.xz
pvs2-44212ee03b5fb74809decb89cb98e3fc2a86e928.zip
[client] Fix deletion of QThread while still running
Diffstat (limited to 'src/client/vnc/vncthread.cpp')
-rw-r--r--src/client/vnc/vncthread.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/vnc/vncthread.cpp b/src/client/vnc/vncthread.cpp
index b710a2c..cafdace 100644
--- a/src/client/vnc/vncthread.cpp
+++ b/src/client/vnc/vncthread.cpp
@@ -202,8 +202,6 @@ void VncThread::run()
while (_run)
this->msleep(100);
qDebug("[%s] VNC client stopped.", metaObject()->className());
- this->deleteLater();
- QThread::run();
}
/**