summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/peerwireclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/torrent/peerwireclient.h')
-rw-r--r--examples/network/torrent/peerwireclient.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/network/torrent/peerwireclient.h b/examples/network/torrent/peerwireclient.h
index 75edf8ee77..2d64329854 100644
--- a/examples/network/torrent/peerwireclient.h
+++ b/examples/network/torrent/peerwireclient.h
@@ -128,8 +128,9 @@ public:
void setReadBufferSize(qint64 size) override;
- void connectToHost(const QHostAddress &address,
- quint16 port, OpenMode openMode = ReadWrite) override;
+ using QTcpSocket::connectToHost;
+ void connectToHost(const QString &address, quint16 port, OpenMode openMode = ReadWrite,
+ NetworkLayerProtocol protocol = AnyIPProtocol) override;
void diconnectFromHost();
signals: