summaryrefslogtreecommitdiffstats
path: root/src/client/vnc/vncthread.cpp
diff options
context:
space:
mode:
authorManuel Schneider2014-04-25 13:07:50 +0200
committerManuel Schneider2014-04-25 13:07:50 +0200
commit2b2681187163fd487a6033e10b0f8e002d698318 (patch)
tree8cc1da9e2a2640c6217b1cb2293dbeac77d6d8e1 /src/client/vnc/vncthread.cpp
parentReduced button block code. Moved some magic number to header. (diff)
downloadpvs2-2b2681187163fd487a6033e10b0f8e002d698318.tar.gz
pvs2-2b2681187163fd487a6033e10b0f8e002d698318.tar.xz
pvs2-2b2681187163fd487a6033e10b0f8e002d698318.zip
Now using qWidget instead of qDialog to avoid the need to handdle every dialog
event (reject, done, accept, finished). No more close override necessary.
Diffstat (limited to 'src/client/vnc/vncthread.cpp')
-rw-r--r--src/client/vnc/vncthread.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/vnc/vncthread.cpp b/src/client/vnc/vncthread.cpp
index fe52283..7d23afa 100644
--- a/src/client/vnc/vncthread.cpp
+++ b/src/client/vnc/vncthread.cpp
@@ -118,14 +118,14 @@ void VncThread::setTargetSize(const QSize size)
}
/**
- * Worker thread's mainloop, connecting to the VNC server and handling the connection.
- * The vnc client library is written in a blocking manner, so we just do everything in
- * our own thread and just hand over the image updates to the vnc client window, which
- * resides in the application's main thread.
+ * Worker thread's mainloop, connecting to the VNC server and handling the
+ * connection. The vnc client library is written in a blocking manner, so we
+ * just do everything in our own thread and just hand over the image updates to
+ * the vnc client window, which resides in the application's main thread.
*
- * This thread checks if the vnc window signaled us to stop and if so, it deletes itself.
- * This means that you should *never* delete this thread from anywhere. Just call VncThread::stop()
- * and wait for it to delete itself.
+ * This thread checks if the vnc window signaled us to stop and if so, it
+ * deletes itself. This means that you should *never* delete this thread from
+ * anywhere. Just call VncThread::stop() and wait for it to delete itself.
*/
void VncThread::run()
{