mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
removed useless handle source messages mechanism in HackRF GUI
This commit is contained in:
parent
525a3f0024
commit
8ca8547148
@ -41,7 +41,6 @@ HackRFGui::HackRFGui(PluginAPI* pluginAPI, QWidget* parent) :
|
||||
displaySampleRates();
|
||||
displayBandwidths();
|
||||
|
||||
connect(m_sampleSource->getOutputMessageQueueToGUI(), SIGNAL(messageEnqueued()), this, SLOT(handleSourceMessages()));
|
||||
DSPEngine::instance()->setSource(m_sampleSource);
|
||||
}
|
||||
|
||||
@ -100,21 +99,6 @@ bool HackRFGui::handleMessage(const Message& message)
|
||||
return false;
|
||||
}
|
||||
|
||||
void HackRFGui::handleSourceMessages()
|
||||
{
|
||||
Message* message;
|
||||
|
||||
while ((message = m_sampleSource->getOutputMessageQueueToGUI()->pop()) != 0)
|
||||
{
|
||||
qDebug("HackRFGui::HandleSourceMessages: message: %s", message->getIdentifier());
|
||||
|
||||
if (handleMessage(*message))
|
||||
{
|
||||
delete message;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void HackRFGui::displaySettings()
|
||||
{
|
||||
ui->centerFrequency->setValue(m_settings.m_centerFrequency / 1000);
|
||||
|
@ -80,7 +80,6 @@ private slots:
|
||||
void on_bbFilter_currentIndexChanged(int index);
|
||||
void on_vga_valueChanged(int value);
|
||||
void updateHardware();
|
||||
void handleSourceMessages();
|
||||
};
|
||||
|
||||
class HackRFSampleRates {
|
||||
|
Loading…
Reference in New Issue
Block a user