mirror of https://github.com/qt/qtbase.git
This change fixes two issues in the torrent example: - Correctly use a query constructed from the announce url to fetch the list of peers (using QUrlQuery). - Reimplement QAbstractSocket's connectToHost() and disconnectFromHost() which are virtual in Qt 5, instead of of using the protected connectToHostImplementation() / disconnectFromHostImplementation() slots. Also removes a warning about deprecation of QHttp class as it's no longer used in this example. Task-number: QTBUG-30329 Change-Id: I9230cd2204bfc1a66f2ea3e98940b09681df250e Reviewed-by: Peter Hartmann <phartmann@blackberry.com> |
||
---|---|---|
.. | ||
forms | ||
icons | ||
addtorrentdialog.cpp | ||
addtorrentdialog.h | ||
bencodeparser.cpp | ||
bencodeparser.h | ||
connectionmanager.cpp | ||
connectionmanager.h | ||
filemanager.cpp | ||
filemanager.h | ||
icons.qrc | ||
main.cpp | ||
mainwindow.cpp | ||
mainwindow.h | ||
metainfo.cpp | ||
metainfo.h | ||
peerwireclient.cpp | ||
peerwireclient.h | ||
ratecontroller.cpp | ||
ratecontroller.h | ||
torrent.pro | ||
torrentclient.cpp | ||
torrentclient.h | ||
torrentserver.cpp | ||
torrentserver.h | ||
trackerclient.cpp | ||
trackerclient.h |