Bandwith manager: It needs do be initialiazed after the limits of the propagator

This commit is contained in:
Olivier Goffart 2014-11-21 16:55:46 +01:00
parent 78362af168
commit c460b3f3be

View file

@ -244,7 +244,6 @@ public:
SyncJournalDb * const _journal;
bool _finishedEmited; // used to ensure that finished is only emit once
BandwidthManager _bandwidthManager;
public:
OwncloudPropagator(ne_session_s *session, const QString &localDir, const QString &remoteDir, const QString &remoteFolder,
@ -265,6 +264,7 @@ public:
QAtomicInt _downloadLimit;
QAtomicInt _uploadLimit;
BandwidthManager _bandwidthManager;
QAtomicInt _abortRequested; // boolean set by the main thread to abort.