1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Added send port to UDP parameters

This commit is contained in:
f4exb
2017-08-24 02:26:47 +02:00
parent 01eed29a6f
commit 614021f9a0
10 changed files with 75 additions and 20 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ BasicChannelSettingsWidget::BasicChannelSettingsWidget(ChannelMarker* marker, QW
ui->setupUi(this);
ui->title->setText(m_channelMarker->getTitle());
ui->address->setText(m_channelMarker->getUDPAddress());
ui->port->setText(QString("%1").arg(m_channelMarker->getUDPPort()));
ui->port->setText(QString("%1").arg(m_channelMarker->getUDPReceivePort()));
paintColor();
}
@@ -51,7 +51,7 @@ void BasicChannelSettingsWidget::on_port_textEdited(const QString& arg1)
udpPort = 9999;
}
m_channelMarker->setUDPPort(udpPort);
m_channelMarker->setUDPReceivePort(udpPort);
}
void BasicChannelSettingsWidget::paintColor()