aboutsummaryrefslogtreecommitdiff
path: root/src/mapport.cpp
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2022-07-15 17:50:08 +0200
committerVasil Dimov <vd@FreeBSD.org>2022-12-12 11:54:22 +0100
commitfd4f0f41e915d99c9b0eac1afd21c5628222e368 (patch)
treeec922a2f6869207a73814aaab529eb0bf1cc935e /src/mapport.cpp
parent96c791dd20fea54c17d224000dee677bc158f66a (diff)
gui: simplify OptionsDialog::updateDefaultProxyNets()
Do not create strings and compare them to check if one `addr:port` equals another. Use `CService::operator==()` instead. `strDefaultProxyGUI` was assigned the same value 3 times. Instead save it in `const CService ui_proxy` at the beginning of the function.
Diffstat (limited to 'src/mapport.cpp')
0 files changed, 0 insertions, 0 deletions