diff options
author | Jonas M. Gastal <jgastal@profusion.mobi> | 2012-01-11 13:06:14 -0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-13 20:55:00 +0100 |
commit | bdce61002255b5f8b3213e93175cefdfebfde2cc (patch) | |
tree | 216a8fe598b426f1a3184534c33a3800ad34a652 /examples/network/torrent/torrentserver.cpp | |
parent | 14b929e9c448f2cc74fa047aaf8af283b81fbaf9 (diff) |
Fixes examples/tests to use qinptr in QTcpServer::incomingConnection.
This is a fix for problems introduced by bf7f170.
Change-Id: If5dd8e031ef2efea578b3efb188c2e950e1ba41a
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'examples/network/torrent/torrentserver.cpp')
-rw-r--r-- | examples/network/torrent/torrentserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/torrent/torrentserver.cpp b/examples/network/torrent/torrentserver.cpp index b9f76c40f8..ecc7ba098c 100644 --- a/examples/network/torrent/torrentserver.cpp +++ b/examples/network/torrent/torrentserver.cpp @@ -61,7 +61,7 @@ void TorrentServer::removeClient(TorrentClient *client) clients.removeAll(client); } -void TorrentServer::incomingConnection(int socketDescriptor) +void TorrentServer::incomingConnection(qintptr socketDescriptor) { PeerWireClient *client = new PeerWireClient(ConnectionManager::instance()->clientId(), this); |