summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pvs.cpp')
-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";