mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Build fix: QAtomicInt has no implicit integer conversion in Qt5
This commit is contained in:
parent
8ed0fdcfa5
commit
6a2fe6be67
1 changed files with 5 additions and 2 deletions
|
@ -605,8 +605,11 @@ void SyncEngine::setNetworkLimits()
|
|||
}
|
||||
_propagator->_uploadLimit = uploadLimit;
|
||||
|
||||
if( _propagator->_downloadLimit + _propagator->_uploadLimit > 0 ) {
|
||||
qDebug() << " N------N Network Limits (down/up) " << _propagator->_downloadLimit << _propagator->_uploadLimit;
|
||||
int propDownloadLimit = _propagator->_downloadLimit.load();
|
||||
int propUploadLimit = _propagator->_uploadLimit.load();
|
||||
|
||||
if( propDownloadLimit + propUploadLimit > 0 ) {
|
||||
qDebug() << " N------N Network Limits (down/up) " << propDownloadLimit << propUploadLimit;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue