diff options
author | Christian Klinger | 2016-09-29 15:40:18 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-29 15:40:18 +0200 |
commit | 3d82bfc698165bb20f3c38d42f2b77ab855c1edf (patch) | |
tree | 2c170bcdd5c89259bb0b530fa11fdfe701c99850 /src/shared/network.cpp | |
parent | added an information dialog that displays ip and hostname. (diff) | |
download | pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.gz pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.xz pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.zip |
astyle.
Diffstat (limited to 'src/shared/network.cpp')
-rw-r--r-- | src/shared/network.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/network.cpp b/src/shared/network.cpp index 6dd6a73..392cd43 100644 --- a/src/shared/network.cpp +++ b/src/shared/network.cpp @@ -29,8 +29,7 @@ QString interfaceAddressesToString(const QList<QHostAddress>& list) { QString ret; ret.reserve(500); - for (QList<QHostAddress>::const_iterator it(list.begin()); it != list.end(); ++it) - { + for (QList<QHostAddress>::const_iterator it(list.begin()); it != list.end(); ++it) { if (*it == QHostAddress::LocalHost || *it == QHostAddress::LocalHostIPv6) continue; // TODO: Filter other addresses/ranges? ret.append("|"); |