From 9cdcc925c12e81773e9b6756df5db396eb72d0f9 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Mon, 7 Apr 2014 15:10:44 +0200 Subject: [PATCH] Do not log useless stuff. --- src/mirall/syncengine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp index ca5add2cc..bf892ef88 100644 --- a/src/mirall/syncengine.cpp +++ b/src/mirall/syncengine.cpp @@ -605,7 +605,9 @@ void SyncEngine::setNetworkLimits() } _propagator->_uploadLimit = uploadLimit; - qDebug() << " N------N Network Limits changed!"; + if( _propagator->_downloadLimit + _propagator->_uploadLimit > 0 ) { + qDebug() << " N------N Network Limits (down/up) " << _propagator->_downloadLimit << _propagator->_uploadLimit; + } } void SyncEngine::slotJobCompleted(const SyncFileItem &item)