mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Bandwith manager: It needs do be initialiazed after the limits of the propagator
This commit is contained in:
parent
78362af168
commit
c460b3f3be
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,6 @@ public:
|
||||||
SyncJournalDb * const _journal;
|
SyncJournalDb * const _journal;
|
||||||
bool _finishedEmited; // used to ensure that finished is only emit once
|
bool _finishedEmited; // used to ensure that finished is only emit once
|
||||||
|
|
||||||
BandwidthManager _bandwidthManager;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OwncloudPropagator(ne_session_s *session, const QString &localDir, const QString &remoteDir, const QString &remoteFolder,
|
OwncloudPropagator(ne_session_s *session, const QString &localDir, const QString &remoteDir, const QString &remoteFolder,
|
||||||
|
@ -265,6 +264,7 @@ public:
|
||||||
|
|
||||||
QAtomicInt _downloadLimit;
|
QAtomicInt _downloadLimit;
|
||||||
QAtomicInt _uploadLimit;
|
QAtomicInt _uploadLimit;
|
||||||
|
BandwidthManager _bandwidthManager;
|
||||||
|
|
||||||
QAtomicInt _abortRequested; // boolean set by the main thread to abort.
|
QAtomicInt _abortRequested; // boolean set by the main thread to abort.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue