From patchwork Mon Mar 23 14:21:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3252 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 74F4B62C68 for ; Mon, 23 Mar 2020 15:22:21 +0100 (CET) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0F99DA31 for ; Mon, 23 Mar 2020 15:22:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584973341; bh=9klAwUZMv+hh1pYubVMeghSnO3MNPDsYBfzap4LhRVc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ljqJOrHoLO44nV7lRkWs8pI7VTjtfr+EZR7zqpw7A0uRjsVR2jrafub7Mm9Kk/WsR ZitI8neap6fmuMYj3yAx3d1GT6LSaXUPUelqqBqwrZAOIP/IVrJEq2wGPQ0ATzapvm 8MQUvkaLS9qtexFFPA7RvsoEb68bK1dPtu4J3Bjc= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 23 Mar 2020 16:21:53 +0200 Message-Id: <20200323142205.28342-10-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200323142205.28342-1-laurent.pinchart@ideasonboard.com> References: <20200323142205.28342-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 09/21] qcam: main_window: Don't print message when saving a picture X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 14:22:24 -0000 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 Reviewed-by: Kieran Bingham --- 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 18aae07ffce7..7aaa73e9a709 100644 --- a/src/qcam/main_window.cpp +++ b/src/qcam/main_window.cpp @@ -406,9 +406,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;