summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-11-28 01:05:29 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-11-28 01:05:29 (GMT)
commit1c50e784a44841d431f317de87ff559b694bf07c (patch)
tree503dd551bee3660737d99d6306a250366b23f242
parent1ec6ca2cbd9a6e73383f85492ad4e4ee7e847f3e (diff)
Use non privileged ports for network games.v16.12.3v16.12.2v16.12.1v16.12.0v16.11.90Applications/16.12
-rw-r--r--src/kgameconnectdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kgameconnectdialog.cpp b/src/kgameconnectdialog.cpp
index 20e90ab..c9883bc 100644
--- a/src/kgameconnectdialog.cpp
+++ b/src/kgameconnectdialog.cpp
@@ -91,6 +91,8 @@ KGameConnectWidget::KGameConnectWidget(QWidget* parent) : QWidget(parent)
connect(d->mClientName, static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), this, &KGameConnectWidget::slotGameSelected);
QLabel* label = new QLabel(i18n("Port to connect to:"), g);
d->mPort = new QSpinBox(g);
+ d->mPort->setMinimum(1024);
+ d->mPort->setMaximum(65535);
layout->addWidget(label, 2, 0);
layout->addWidget(d->mPort, 2, 1);
label = new QLabel(i18n("Host to connect to:"), g);