diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2022-07-15 17:50:08 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2022-12-12 11:54:22 +0100 |
commit | fd4f0f41e915d99c9b0eac1afd21c5628222e368 (patch) | |
tree | ec922a2f6869207a73814aaab529eb0bf1cc935e /src/mapport.cpp | |
parent | 96c791dd20fea54c17d224000dee677bc158f66a (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