summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-22 21:30:04 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-24 10:33:56 +0200
commit0420a14d75b56726eaa0d7651cc924b1ba4464c2 (patch)
tree4d38c3fa79a6e3950ca37c4a36dfdcd4a40a654a
parent7536d7d2f8a369f4603633a19b0c19a1583f96a1 (diff)
qcam: main_window: Don't print message when saving a picture
When saving a picture, the application prints a message on cout. This isn't necessary and doesn't really help with debugging or diagnostics, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/qcam/main_window.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index 6afb7714..7959c17c 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -410,9 +410,6 @@ void MainWindow::saveImageAs()
QString filename = QFileDialog::getSaveFileName(this, "Save Image", defaultPath,
"Image Files (*.png *.jpg *.jpeg)");
-
- std::cout << "Save image to " << filename.toStdString() << std::endl;
-
if (filename.isEmpty())
return;