From patchwork Mon Mar 23 17:35:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3275 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 7AF6D62CD0 for ; Mon, 23 Mar 2020 18:36:19 +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 199F3A31 for ; Mon, 23 Mar 2020 18:36:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584984979; bh=8JiUz19Lt9JOUVAhxgL6yLvl19nOjqPLuLXY7pVwuhY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fhG42jsv0Pv6InU0TFxgGekfQakApGWKe0FkxpDkiRe7VCRN+//5QXxH6Hn4kV18n UZL/RhiFJeX8lMsvltxexcmT2HkOTAOyHLW6/W5HAcrpX9O47mIBKbPJxOTvBPC+RF MDVhtXPAIg63OXyWqx3wVA4J9wQpWvZZxqLiePxs= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 23 Mar 2020 19:35:47 +0200 Message-Id: <20200323173559.21109-10-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200323173559.21109-1-laurent.pinchart@ideasonboard.com> References: <20200323173559.21109-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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 17:36:22 -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 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;