Build fix: QAtomicInt has no implicit integer conversion in Qt5

This commit is contained in:
Daniel Molkentin 2014-04-07 16:48:14 +02:00
parent 8ed0fdcfa5
commit 6a2fe6be67

View file

@ -605,8 +605,11 @@ void SyncEngine::setNetworkLimits()
} }
_propagator->_uploadLimit = uploadLimit; _propagator->_uploadLimit = uploadLimit;
if( _propagator->_downloadLimit + _propagator->_uploadLimit > 0 ) { int propDownloadLimit = _propagator->_downloadLimit.load();
qDebug() << " N------N Network Limits (down/up) " << _propagator->_downloadLimit << _propagator->_uploadLimit; int propUploadLimit = _propagator->_uploadLimit.load();
if( propDownloadLimit + propUploadLimit > 0 ) {
qDebug() << " N------N Network Limits (down/up) " << propDownloadLimit << propUploadLimit;
} }
} }