summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-22 12:29:46 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-22 12:38:59 -0700
commit2182f00177a62c8ca76ccfb7f39f4d564b70389c (patch)
treec14a2f6a0c1afaae555c34458f0a3e60503b2d6c /desktop-widgets
parentbc6c8a3949d578e0b9be2ce5badf2ff54e9c2470 (diff)
downloadsubsurface-2182f00177a62c8ca76ccfb7f39f4d564b70389c.tar.gz
Reduce default verbosity
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 506878c98..afb2f9c77 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -559,7 +559,8 @@ void MainWindow::on_actionCloudstorageopen_triggered()
getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error);
return;
}
- qDebug() << filename;
+ if (verbose)
+ qDebug() << "Opening cloud storage from:" << filename;
closeCurrentFile();
@@ -586,7 +587,8 @@ void MainWindow::on_actionCloudstoragesave_triggered()
getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error);
return;
}
- qDebug() << filename;
+ if (verbose)
+ qDebug() << "Saving cloud storage to:" << filename;
if (information()->isEditing())
information()->acceptChanges();