mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
PropagateUpload: Fix another non-normalized connect that appears while profiling
This commit is contained in:
parent
2953eed729
commit
ce04a76b17
3 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ private:
|
|||
bool _bandwidthLimited; // if _bandwidthQuota will be used
|
||||
bool _choked; // if upload is paused (readData() will return 0)
|
||||
friend class BandwidthManager;
|
||||
protected slots:
|
||||
public slots:
|
||||
void slotJobUploadProgress(qint64 sent, qint64 t);
|
||||
};
|
||||
|
||||
|
|
|
@ -327,8 +327,8 @@ void PropagateUploadFileNG::startNextChunk()
|
|||
connect(job, &PUTFileJob::finishedSignal, this, &PropagateUploadFileNG::slotPutFinished);
|
||||
connect(job, &PUTFileJob::uploadProgress,
|
||||
this, &PropagateUploadFileNG::slotUploadProgress);
|
||||
connect(job, SIGNAL(uploadProgress(qint64, qint64)),
|
||||
device, SLOT(slotJobUploadProgress(qint64, qint64)));
|
||||
connect(job, &PUTFileJob::uploadProgress,
|
||||
device, &UploadDevice::slotJobUploadProgress);
|
||||
connect(job, &QObject::destroyed, this, &PropagateUploadFileCommon::slotJobDestroyed);
|
||||
job->start();
|
||||
propagator()->_activeJobList.append(this);
|
||||
|
|
|
@ -128,7 +128,7 @@ void PropagateUploadFileV1::startNextChunk()
|
|||
_jobs.append(job);
|
||||
connect(job, &PUTFileJob::finishedSignal, this, &PropagateUploadFileV1::slotPutFinished);
|
||||
connect(job, &PUTFileJob::uploadProgress, this, &PropagateUploadFileV1::slotUploadProgress);
|
||||
connect(job, SIGNAL(uploadProgress(qint64, qint64)), device, SLOT(slotJobUploadProgress(qint64, qint64)));
|
||||
connect(job, &PUTFileJob::uploadProgress, device, &UploadDevice::slotJobUploadProgress);
|
||||
connect(job, &QObject::destroyed, this, &PropagateUploadFileCommon::slotJobDestroyed);
|
||||
job->start();
|
||||
propagator()->_activeJobList.append(this);
|
||||
|
|
Loading…
Reference in a new issue