From 420fbbcec1df222df8d80f30b61e56d2b1c17ec3 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sat, 5 Feb 2022 21:13:04 +0000 Subject: [PATCH] Fix Linux compilation warnings --- plugins/channelrx/demodapt/aptdemodimageworker.cpp | 4 ++-- plugins/channelrx/demodapt/aptdemodimageworker.h | 2 +- plugins/channelrx/demodapt/aptdemodsettingsdialog.cpp | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/channelrx/demodapt/aptdemodimageworker.cpp b/plugins/channelrx/demodapt/aptdemodimageworker.cpp index 74e6bc5f7..9e9f0ec7d 100644 --- a/plugins/channelrx/demodapt/aptdemodimageworker.cpp +++ b/plugins/channelrx/demodapt/aptdemodimageworker.cpp @@ -442,7 +442,7 @@ void APTDemodImageWorker::sendImageToGUI() QImage image = processImage(imageTypes, m_settings.m_channels); m_messageQueueToGUI->push(APTDemod::MsgImage::create(image, imageTypes, m_satelliteName)); if (m_sgp4) { - sendImageToMap(image, imageTypes); + sendImageToMap(image); } } } @@ -658,7 +658,7 @@ void APTDemodImageWorker::makeTransparent(QImage &image) } } -void APTDemodImageWorker::sendImageToMap(QImage image, QStringList imageTypes) +void APTDemodImageWorker::sendImageToMap(QImage image) { // Send to Map feature MessagePipes& messagePipes = MainCore::instance()->getMessagePipes(); diff --git a/plugins/channelrx/demodapt/aptdemodimageworker.h b/plugins/channelrx/demodapt/aptdemodimageworker.h index 9af23587a..0e83c47ab 100644 --- a/plugins/channelrx/demodapt/aptdemodimageworker.h +++ b/plugins/channelrx/demodapt/aptdemodimageworker.h @@ -153,7 +153,7 @@ private: void calcBoundingBox(double &east, double &south, double &west, double &north, const QImage &image); QImage projectImage(const QImage &image); void makeTransparent(QImage &image); - void sendImageToMap(QImage image, QStringList imageTypes); + void sendImageToMap(QImage image); void sendLineToGUI(); void prependPath(QString &filename); void saveImageToDisk(); diff --git a/plugins/channelrx/demodapt/aptdemodsettingsdialog.cpp b/plugins/channelrx/demodapt/aptdemodsettingsdialog.cpp index 028000626..6350b8c5d 100644 --- a/plugins/channelrx/demodapt/aptdemodsettingsdialog.cpp +++ b/plugins/channelrx/demodapt/aptdemodsettingsdialog.cpp @@ -84,6 +84,7 @@ void APTDemodSettingsDialog::on_autoSavePathBrowse_clicked() void APTDemodSettingsDialog::on_autoSave_clicked(bool checked) { + (void) checked; /* Commented out until theme greys out disabled widgets ui->saveProjectionLabel->setEnabled(checked); ui->saveCombined->setEnabled(checked);