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/notificationwidget.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/notificationwidget.cpp')
-rw-r--r--src/gui/notificationwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/notificationwidget.cpp b/src/gui/notificationwidget.cpp
index f247ec2c5..6d6cfa952 100644
--- a/src/gui/notificationwidget.cpp
+++ b/src/gui/notificationwidget.cpp
@@ -111,7 +111,7 @@ void NotificationWidget::slotButtonClicked()
_actionLabel = triggeredLink._label;
if( ! triggeredLink._link.isEmpty() ) {
- qCDebug(lcNotifications) << "Notification Link: "<< triggeredLink._verb << triggeredLink._link;
+ qCInfo(lcNotifications) << "Notification Link: "<< triggeredLink._verb << triggeredLink._link;
_progressIndi->startAnimation();
emit sendNotificationRequest( _accountName, triggeredLink._link, triggeredLink._verb );
}
@@ -129,7 +129,7 @@ void NotificationWidget::slotNotificationRequestFinished(int statusCode)
// the ocs API returns stat code 100 if it succeeded.
if( statusCode != OCS_SUCCESS_STATUS_CODE ) {
- qCDebug(lcNotifications) << "Notification Request to Server failed, leave button visible.";
+ qCWarning(lcNotifications) << "Notification Request to Server failed, leave button visible.";
for( i = 0; i < _buttons.count(); i++ ) {
_buttons.at(i)->setEnabled(true);
}