[libcamera-devel] [PATCH v2 09/21] qcam: main_window: Don't print message when saving a picture

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Mar 23 18:35:47 CET 2020


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 at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/qcam/main_window.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index 6afb7714c457..7959c17cd610 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;
 
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list