TCPSrc: minor fixed
This commit is contained in:
parent
2351419bc6
commit
9e2fb91a9e
|
@ -118,9 +118,10 @@ void TCPSrcGUI::channelMarkerChanged()
|
|||
TCPSrcGUI::TCPSrcGUI(PluginAPI* pluginAPI, QWidget* parent) :
|
||||
RollupWidget(parent),
|
||||
ui(new Ui::TCPSrcGUI),
|
||||
m_pluginAPI(pluginAPI)
|
||||
m_pluginAPI(pluginAPI),
|
||||
m_tcpSrc(NULL),
|
||||
m_basicSettingsShown(false)
|
||||
{
|
||||
m_tcpSrc = NULL;
|
||||
ui->setupUi(this);
|
||||
ui->connectedClientsBox->hide();
|
||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||
|
@ -148,8 +149,6 @@ TCPSrcGUI::TCPSrcGUI(PluginAPI* pluginAPI, QWidget* parent) :
|
|||
|
||||
ui->spectrumGUI->setBuddies(m_threadedSampleSink->getMessageQueue(), m_spectrumVis, ui->glSpectrum);
|
||||
|
||||
m_basicSettingsShown = false;
|
||||
|
||||
applySettings();
|
||||
}
|
||||
|
||||
|
|
|
@ -50,6 +50,4 @@ void TCPSrcPlugin::createInstanceTCPSrc()
|
|||
TCPSrcGUI* gui = TCPSrcGUI::create(m_pluginAPI);
|
||||
m_pluginAPI->registerChannelInstance("de.maintech.sdrangelove.channel.tcpsrc", gui);
|
||||
m_pluginAPI->addChannelRollup(gui);
|
||||
//m_pluginAPI->registerChannelInstance("de.maintech.sdrangelove.channel.tcpsrc", TCPSrcGUI::create(m_pluginAPI));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue