From 59d0ea671b7a437a810ecfbd8587e43747cb5794 Mon Sep 17 00:00:00 2001 From: f4exb <f4exb06@gmail.com> Date: Tue, 9 Feb 2021 06:55:28 +0100 Subject: [PATCH] HTTP download manager: fixed warning --- sdrgui/gui/httpdownloadmanagergui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdrgui/gui/httpdownloadmanagergui.cpp b/sdrgui/gui/httpdownloadmanagergui.cpp index 436e301f6..0956d3404 100644 --- a/sdrgui/gui/httpdownloadmanagergui.cpp +++ b/sdrgui/gui/httpdownloadmanagergui.cpp @@ -68,7 +68,9 @@ bool HttpDownloadManagerGUI::confirmDownload(const QString& filename, QWidget *p void HttpDownloadManagerGUI::downloadCompleteGUI(const QString& filename, bool success) { + (void) success; int idx = m_filenames.indexOf(filename); + if (idx >= 0) { QProgressDialog *progressDialog = m_progressDialogs[idx];