TCPSrc: minor fixed

This commit is contained in:
Christian Daniel 2013-11-04 21:56:00 +01:00
parent 2351419bc6
commit 9e2fb91a9e
2 changed files with 3 additions and 6 deletions

View File

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

View File

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