summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2011-03-29 18:11:38 +0200
committerJohann Latocha2011-03-29 18:11:38 +0200
commit1194002da685a88f61beb7f06a78a29d85c50be9 (patch)
tree948a0da404cb032f2c68172d5b8293eb15c3f4f7
parentAutoconnect bug fixed (validation) (diff)
downloadpvs-1194002da685a88f61beb7f06a78a29d85c50be9.tar.gz
pvs-1194002da685a88f61beb7f06a78a29d85c50be9.tar.xz
pvs-1194002da685a88f61beb7f06a78a29d85c50be9.zip
Autoconnect bug fixed (2)
-rw-r--r--src/pvs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index d987164..39bacb0 100644
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -101,9 +101,8 @@ PVS::PVS() :
if (!host.isNull() && port > 0 && fingerprint != "" && name != "")
{
qDebug() << "Autoconnecting to " << host.toString();
- PVSDiscoveredServer* server = new PVSDiscoveredServer(this, host, port, fingerprint, name);
_sdClient->handleDiscovery(host, port, fingerprint);
- connectToHost(server, "");
+ _sdClient->connectToSession(name, "");
}
else
qDebug() << "No Config for autoconnection found";