1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Fix Linux compilation warnings

This commit is contained in:
Jon Beniston 2022-02-05 21:13:04 +00:00
parent 4dbc817e01
commit 420fbbcec1
3 changed files with 4 additions and 3 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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);