diff options
Diffstat (limited to 'src/server/net/client.cpp')
-rw-r--r-- | src/server/net/client.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/net/client.cpp b/src/server/net/client.cpp index dd61b45..a00ef88 100644 --- a/src/server/net/client.cpp +++ b/src/server/net/client.cpp @@ -21,8 +21,8 @@ Client::Client(QSslSocket* socket) : _socket(socket) { assert(socket != NULL); _authed = 0; - _projectionSource = 0; - _isActiveVncClient = false; + _projectionSource = 0; + _isActiveVncClient = false; _vncPort = 0; _isTutor = false; _locked = false; @@ -194,14 +194,14 @@ void Client::handleMsg() if (_fromClient.getFieldString("ENABLED").toInt() != 0) { qDebug() << "Client " << _name << " started its VNC client (watching " << projectionSource << ")"; - _projectionSource = projectionSource; - _isActiveVncClient = true; + _projectionSource = projectionSource; + _isActiveVncClient = true; emit vncClientStateChange(this); } else { qDebug() << "Client " << _name << " stopped its VNC client (watched " << projectionSource << ")"; - _isActiveVncClient = false; + _isActiveVncClient = false; emit vncClientStateChange(this); } emit stateChanged(); @@ -306,7 +306,7 @@ void Client::startVncClient(const Client * const to) /******************************************************************************/ void Client::stopVncClient() { - if (_isActiveVncClient) { + if (_isActiveVncClient) { NetworkMessage msg; msg.setField(_ID, _VNCCLIENT); sendMessage(msg); |