mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Fix Linux compilation warnings
This commit is contained in:
parent
4dbc817e01
commit
420fbbcec1
@ -442,7 +442,7 @@ void APTDemodImageWorker::sendImageToGUI()
|
|||||||
QImage image = processImage(imageTypes, m_settings.m_channels);
|
QImage image = processImage(imageTypes, m_settings.m_channels);
|
||||||
m_messageQueueToGUI->push(APTDemod::MsgImage::create(image, imageTypes, m_satelliteName));
|
m_messageQueueToGUI->push(APTDemod::MsgImage::create(image, imageTypes, m_satelliteName));
|
||||||
if (m_sgp4) {
|
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
|
// Send to Map feature
|
||||||
MessagePipes& messagePipes = MainCore::instance()->getMessagePipes();
|
MessagePipes& messagePipes = MainCore::instance()->getMessagePipes();
|
||||||
|
@ -153,7 +153,7 @@ private:
|
|||||||
void calcBoundingBox(double &east, double &south, double &west, double &north, const QImage &image);
|
void calcBoundingBox(double &east, double &south, double &west, double &north, const QImage &image);
|
||||||
QImage projectImage(const QImage &image);
|
QImage projectImage(const QImage &image);
|
||||||
void makeTransparent(QImage &image);
|
void makeTransparent(QImage &image);
|
||||||
void sendImageToMap(QImage image, QStringList imageTypes);
|
void sendImageToMap(QImage image);
|
||||||
void sendLineToGUI();
|
void sendLineToGUI();
|
||||||
void prependPath(QString &filename);
|
void prependPath(QString &filename);
|
||||||
void saveImageToDisk();
|
void saveImageToDisk();
|
||||||
|
@ -84,6 +84,7 @@ void APTDemodSettingsDialog::on_autoSavePathBrowse_clicked()
|
|||||||
|
|
||||||
void APTDemodSettingsDialog::on_autoSave_clicked(bool checked)
|
void APTDemodSettingsDialog::on_autoSave_clicked(bool checked)
|
||||||
{
|
{
|
||||||
|
(void) checked;
|
||||||
/* Commented out until theme greys out disabled widgets
|
/* Commented out until theme greys out disabled widgets
|
||||||
ui->saveProjectionLabel->setEnabled(checked);
|
ui->saveProjectionLabel->setEnabled(checked);
|
||||||
ui->saveCombined->setEnabled(checked);
|
ui->saveCombined->setEnabled(checked);
|
||||||
|
Loading…
Reference in New Issue
Block a user