1
0
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:
f4exb 2015-09-27 12:55:44 +02:00
parent 525a3f0024
commit 8ca8547148
2 changed files with 0 additions and 17 deletions

View File

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

View File

@ -80,7 +80,6 @@ private slots:
void on_bbFilter_currentIndexChanged(int index);
void on_vga_valueChanged(int value);
void updateHardware();
void handleSourceMessages();
};
class HackRFSampleRates {