1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

NFM demod: hide use RTP button if audio sink is not RTP capable

This commit is contained in:
f4exb 2018-02-22 05:06:19 +01:00
parent 2b846f5d28
commit 66ddd6faa8

View File

@ -320,7 +320,10 @@ NFMDemodGUI::NFMDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
QChar delta = QChar(0x94, 0x03);
ui->deltaSquelch->setText(delta);
ui->useRTP->setEnabled(m_nfmDemod->isAudioNetSinkRTPCapable());
if (!m_nfmDemod->isAudioNetSinkRTPCapable()) {
ui->useRTP->hide();
}
connect(getInputMessageQueue(), SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));