summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/torrentserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/torrent/torrentserver.cpp')
-rw-r--r--examples/network/torrent/torrentserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/torrent/torrentserver.cpp b/examples/network/torrent/torrentserver.cpp
index 2196863ca0..0a9d836098 100644
--- a/examples/network/torrent/torrentserver.cpp
+++ b/examples/network/torrent/torrentserver.cpp
@@ -64,7 +64,7 @@ void TorrentServer::removeClient(TorrentClient *client)
void TorrentServer::incomingConnection(qintptr socketDescriptor)
{
PeerWireClient *client =
- new PeerWireClient(ConnectionManager::instance()->clientId(), this);
+ new PeerWireClient(ConnectionManager::instance()->clientId(), this);
if (client->setSocketDescriptor(socketDescriptor)) {
if (ConnectionManager::instance()->canAddConnection() && !clients.isEmpty()) {