diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-05-17 13:59:30 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-05-17 13:59:30 +0200 |
commit | 997c25620a6d05ab6a700bdb4d39e58be5fdae92 (patch) | |
tree | c1d6d64c6e2c136276f93c521fb18414a9bbf29c | |
parent | 5ca5661c23050d738f1d5f9ced5e7fb71eef3fce (diff) | |
download | MultiMC-997c25620a6d05ab6a700bdb4d39e58be5fdae92.tar MultiMC-997c25620a6d05ab6a700bdb4d39e58be5fdae92.tar.gz MultiMC-997c25620a6d05ab6a700bdb4d39e58be5fdae92.tar.lz MultiMC-997c25620a6d05ab6a700bdb4d39e58be5fdae92.tar.xz MultiMC-997c25620a6d05ab6a700bdb4d39e58be5fdae92.zip |
GH-3131 fix not working with proxy ports > 32767
-rw-r--r-- | application/pages/global/ProxyPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/global/ProxyPage.cpp b/application/pages/global/ProxyPage.cpp index ee56a54e..3f0e766b 100644 --- a/application/pages/global/ProxyPage.cpp +++ b/application/pages/global/ProxyPage.cpp @@ -95,7 +95,7 @@ void ProxyPage::loadSettings() ui->proxyHTTPBtn->setChecked(true); ui->proxyAddrEdit->setText(s->get("ProxyAddr").toString()); - ui->proxyPortEdit->setValue(s->get("ProxyPort").value<qint16>()); + ui->proxyPortEdit->setValue(s->get("ProxyPort").value<uint16_t>()); ui->proxyUserEdit->setText(s->get("ProxyUser").toString()); ui->proxyPassEdit->setText(s->get("ProxyPass").toString()); } |