summaryrefslogtreecommitdiffstats
path: root/src/server/net/client.cpp
diff options
context:
space:
mode:
authorManuel Schneider2014-07-21 23:51:00 +0200
committerManuel Schneider2014-07-21 23:51:00 +0200
commitc22a2b47bbd955caf25109b276c823b94f2a7c81 (patch)
tree02be8509ff93d5004da355a08b1592b0ee69f100 /src/server/net/client.cpp
parentFinally implemented one click projectionsource change (diff)
downloadpvs2-c22a2b47bbd955caf25109b276c823b94f2a7c81.tar.gz
pvs2-c22a2b47bbd955caf25109b276c823b94f2a7c81.tar.xz
pvs2-c22a2b47bbd955caf25109b276c823b94f2a7c81.zip
Correct indenting by tabs
Diffstat (limited to 'src/server/net/client.cpp')
-rw-r--r--src/server/net/client.cpp12
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);