From 0420a14d75b56726eaa0d7651cc924b1ba4464c2 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Sun, 22 Mar 2020 21:30:04 +0200
Subject: 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>
---
 src/qcam/main_window.cpp | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'src')

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;
 
-- 
cgit v1.2.1