diff options
author | Manuel Schneider | 2014-04-25 13:07:50 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-04-25 13:07:50 +0200 |
commit | 2b2681187163fd487a6033e10b0f8e002d698318 (patch) | |
tree | 8cc1da9e2a2640c6217b1cb2293dbeac77d6d8e1 /src/client/vnc/vncthread.cpp | |
parent | Reduced button block code. Moved some magic number to header. (diff) | |
download | pvs2-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.cpp | 14 |
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() { |