Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2017-03-30 14:46:20 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2017-05-11 18:22:59 +0300
commitb7553d5bdf3aecf6fd860dfcd76d980fc32af600 (patch)
tree1493202ce72b8780c5c303e289a8d1d637120f87 /src/gui/folderwatcher_linux.cpp
parent4ad190a558c64aac846dc828438acdec5fe9c6ed (diff)
Upgrade some qCDebug to qCInfo or qCWarning
Use qCInfo for anything that has general value for support and development. Use qCWarning for any recoverable error and qCCritical for anything that could result in data loss or would identify a serious issue with the code. Issue #5647
Diffstat (limited to 'src/gui/folderwatcher_linux.cpp')
-rw-r--r--src/gui/folderwatcher_linux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp
index 0635ae244..5a4d2b590 100644
--- a/src/gui/folderwatcher_linux.cpp
+++ b/src/gui/folderwatcher_linux.cpp
@@ -36,7 +36,7 @@ FolderWatcherPrivate::FolderWatcherPrivate(FolderWatcher *p, const QString& path
_socket.reset( new QSocketNotifier(_fd, QSocketNotifier::Read) );
connect(_socket.data(), SIGNAL(activated(int)), SLOT(slotReceivedNotification(int)));
} else {
- qCDebug(lcFolderWatcher) << "notify_init() failed: " << strerror(errno);
+ qCWarning(lcFolderWatcher) << "notify_init() failed: " << strerror(errno);
}
QMetaObject::invokeMethod(this, "slotAddFolderRecursive", Q_ARG(QString, path));
@@ -98,7 +98,7 @@ void FolderWatcherPrivate::slotAddFolderRecursive(const QString &path)
QStringList allSubfolders;
if( !findFoldersBelow(QDir(path), allSubfolders)) {
- qCDebug(lcFolderWatcher) << "Could not traverse all sub folders";
+ qCWarning(lcFolderWatcher) << "Could not traverse all sub folders";
}
QStringListIterator subfoldersIt(allSubfolders);
while (subfoldersIt.hasNext()) {