diff options
| author | Philip Kaufmann <[email protected]> | 2012-07-09 11:14:38 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-07-22 01:12:11 +0200 |
| commit | 1376a542b45ec4c733c772fd3e4844d70bf4da40 (patch) | |
| tree | 1a79a87ecdb39c83f7c90a8df9c5f88305506545 /src/script.cpp | |
| parent | Merge pull request #1616 from Diapolo/OpenSSL_typo (diff) | |
| download | discoin-1376a542b45ec4c733c772fd3e4844d70bf4da40.tar.xz discoin-1376a542b45ec4c733c772fd3e4844d70bf4da40.zip | |
optionsdialog cleanup
- remove duplicate includes, that are already present in ui_optionsdialog.h
- change QIntValidator to not allow 0 as port-number
- re-order some function calls to match the Ui element order, for better readbility and to prepare for the addition of further IPv6 and Tor proxy options
- restat warning for the language selection is only shown, when the language was changed (not on simply activating the Ui element)
- split check for object == ui->proxyIp into seperate if-clause
- micro-optimize the code in the above mentioned if-clause
- unify used format for comments in the code
- introduce handleProxyIpValid() function, which handles UI elements and the
save button states for valid/invalid proxy IPs
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions