mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-03 15:55:27 +08:00
qt 6.6.0 clean
This commit is contained in:
@ -42,7 +42,7 @@ void RateController::scheduleTransfer()
|
||||
if (transferScheduled)
|
||||
return;
|
||||
transferScheduled = true;
|
||||
QTimer::singleShot(50, this, SLOT(transfer()));
|
||||
QTimer::singleShot(50, this, &RateController::transfer);
|
||||
}
|
||||
|
||||
void RateController::transfer()
|
||||
|
@ -20,7 +20,7 @@ TrackerClient::TrackerClient(TorrentClient *downloader, QObject *parent)
|
||||
void TrackerClient::start(const MetaInfo &info)
|
||||
{
|
||||
metaInfo = info;
|
||||
QTimer::singleShot(0, this, SLOT(fetchPeerList()));
|
||||
QTimer::singleShot(0, this, &TrackerClient::fetchPeerList);
|
||||
|
||||
if (metaInfo.fileForm() == MetaInfo::SingleFileForm) {
|
||||
length = metaInfo.singleFile().length;
|
||||
|
Reference in New Issue
Block a user