Commit d2ede705 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #426 from thomasgubler/fix_type_compile_error

change type of port from uint16_t to quint16
parents c472a494 c0146458
...@@ -9,7 +9,7 @@ QGCTCPLinkConfiguration::QGCTCPLinkConfiguration(TCPLink* link, QWidget *parent) ...@@ -9,7 +9,7 @@ QGCTCPLinkConfiguration::QGCTCPLinkConfiguration(TCPLink* link, QWidget *parent)
ui(new Ui::QGCTCPLinkConfiguration) ui(new Ui::QGCTCPLinkConfiguration)
{ {
ui->setupUi(this); ui->setupUi(this);
uint16_t port = link->getPort(); quint16 port = link->getPort();
ui->portSpinBox->setValue(port); ui->portSpinBox->setValue(port);
QString addr = link->getHostAddress().toString(); QString addr = link->getHostAddress().toString();
ui->hostAddressLineEdit->setText(addr); ui->hostAddressLineEdit->setText(addr);
...@@ -32,4 +32,4 @@ void QGCTCPLinkConfiguration::changeEvent(QEvent *e) ...@@ -32,4 +32,4 @@ void QGCTCPLinkConfiguration::changeEvent(QEvent *e)
default: default:
break; break;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment