[Pkg-owncloud-commits] [owncloud-client] 160/333: Clean the debug a bit

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit f05320c32c0d1cd2aebb0dcac8672009147fb3d1
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Mar 17 12:15:16 2014 +0100

    Clean the debug a bit
---
 src/mirall/accountsettings.cpp    | 1 -
 src/mirall/folder.cpp             | 1 -
 src/mirall/mirallconfigfile.cpp   | 3 ---
 src/mirall/owncloudpropagator.cpp | 3 ---
 src/mirall/socketapi.cpp          | 7 ++-----
 src/mirall/syncengine.cpp         | 3 ---
 6 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/src/mirall/accountsettings.cpp b/src/mirall/accountsettings.cpp
index bc8a9b4..8d4f210 100644
--- a/src/mirall/accountsettings.cpp
+++ b/src/mirall/accountsettings.cpp
@@ -133,7 +133,6 @@ void AccountSettings::slotFolderActivated( const QModelIndex& indx )
 
   if ( state ) {
     bool folderEnabled = _model->data( indx, FolderStatusDelegate::FolderSyncEnabled).toBool();
-    qDebug() << "folder is sync enabled: " << folderEnabled;
     if ( folderEnabled ) {
       ui->_buttonEnable->setText( tr( "Pause" ) );
     } else {
diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index 164692b..1e0479b 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -208,7 +208,6 @@ QUrl Folder::remoteUrl() const
     }
     path.append(_remotePath);
     url.setPath(path);
-    qDebug() << url;
     return url;
 }
 
diff --git a/src/mirall/mirallconfigfile.cpp b/src/mirall/mirallconfigfile.cpp
index 663463c..11c3678 100644
--- a/src/mirall/mirallconfigfile.cpp
+++ b/src/mirall/mirallconfigfile.cpp
@@ -215,10 +215,7 @@ QString MirallConfigFile::excludeFile(Scope scope) const
 #endif
         }
     }
-    qDebug() << "  ==> returning exclude file path: " << fi.absoluteFilePath();
     return fi.absoluteFilePath();
-    qDebug() << "EMPTY exclude file path!";
-    return QString::null;
 }
 
 QString MirallConfigFile::configFile() const
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index 1a2c680..ef8d91c 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -284,13 +284,10 @@ void PropagateDirectory::slotSubJobFinished(SyncFileItem::Status status)
 
 void PropagateDirectory::slotSubJobReady()
 {
-    qDebug() << Q_FUNC_INFO << _runningNow << _propagator->_activeJobs;
-
     if (_runningNow && _current == -1)
         return; // Ignore the case when the _fistJob is ready and not yet finished
     if (_runningNow && _current >= 0 && _current < _subJobs.count()) {
         // there is a job running and the current one is not ready yet, we can't start new job
-        qDebug() <<  _subJobs[_current]->_readySent << maximumActiveJob << _subJobs[_current];
         if (!_subJobs[_current]->_readySent || _propagator->_activeJobs >= maximumActiveJob)
             return;
     }
diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp
index fd5d880..8b4a86b 100644
--- a/src/mirall/socketapi.cpp
+++ b/src/mirall/socketapi.cpp
@@ -47,15 +47,14 @@ SocketApi::SocketApi(QObject* parent, const QUrl& localFile)
         socketPath = localFile.toLocalFile();
 
     }
-    DEBUG << "ctor: " << socketPath;
 
     // setup socket
     _localServer = new QLocalServer(this);
     QLocalServer::removeServer(socketPath);
     if(!_localServer->listen(socketPath))
-        DEBUG << "can't start server";
+        DEBUG << "can't start server" << socketPath;
     else
-        DEBUG << "server started";
+        DEBUG << "server started" << socketPath;
     connect(_localServer, SIGNAL(newConnection()), this, SLOT(onNewConnection()));
 
     // folder watcher
@@ -116,8 +115,6 @@ void SocketApi::onReadyRead()
 
 void SocketApi::onSyncStateChanged(const QString&)
 {
-    DEBUG << "Sync state changed";
-
     broadcastMessage("UPDATE_VIEW");
 }
 
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index a1747dd..d0e67a6 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -416,10 +416,7 @@ void SyncEngine::startSync()
     if( ! _csync_ctx ) {
         qDebug() << "XXXXXXXXXXXXXXXX FAIL: do not have csync_ctx!";
     }
-    qDebug() << Q_FUNC_INFO << "Sync started";
 
-
-    qDebug() << "starting to sync " << qApp->thread() << QThread::currentThread();
     _syncedItems.clear();
     _needsUpdate = false;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list