VNC: replace m_stopped with QThread's interruptionRequested
requested to merge thiago/krdc:VNC_replace_m_stopped_with_QThread_s_interruptionRequested into master
It's an out-of-line function call, but it doesn't require a mutex for most uses.
The uses in the callbacks are replaced with isRunning(), because interruptionRequested resets back to false as soon as run() exits.