summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe
diff options
context:
space:
mode:
authorManuel Schneider2014-05-20 16:05:02 +0200
committerManuel Schneider2014-05-20 16:05:02 +0200
commit04931d80789a860c912358fd8c706585bb82a613 (patch)
tree4d2f919f0b35dabe8db827d5f9445569afc18eb8 /src/server/connectionframe
parentRemvoe unneccesary membervariable _toClient and method buildErrorMessage (imp... (diff)
downloadpvs2-04931d80789a860c912358fd8c706585bb82a613.tar.gz
pvs2-04931d80789a860c912358fd8c706585bb82a613.tar.xz
pvs2-04931d80789a860c912358fd8c706585bb82a613.zip
Make vnc credentials completely private to client. Make VNCConnect work client-internally only. Drop Client::computerID() (equivalent to Client::ip() XD )
Diffstat (limited to 'src/server/connectionframe')
-rw-r--r--src/server/connectionframe/connectionframe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp
index 75d24a4..b772231 100644
--- a/src/server/connectionframe/connectionframe.cpp
+++ b/src/server/connectionframe/connectionframe.cpp
@@ -146,7 +146,7 @@ void ConnectionFrame::assignClient(Client* client)
connect( client, SIGNAL(vncClientStateChange(Client*, int)),
this, SLOT(onVncClientStateChange(Client*, int)) );
_client = client;
- _computerId = client->computerId();
+ _computerId = client->ip();
_lblHostName->setText(client->ip());
_lblHostName->setToolTip(client->host());
_lblUserName->setText(client->name());