summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-12-19 18:57:39 +0100
committerPaul Wicking <paul.wicking@qt.io>2020-01-06 06:17:00 +0100
commit3c2523b24220aefa4f3335f11fd8eb7993f29160 (patch)
tree7d41bba3f284653b94851154da1e489af40cff02
parent82c44b81dc414ca8f6093bdd0379c93b95d2d610 (diff)
downloadqttools-3c2523b24220aefa4f3335f11fd8eb7993f29160.tar.gz
QDoc: Fix whitespace (again)
Whitespace that got reintroduced from an old patch that integrated late. Fix it separately to avoid mixing with other changes. Change-Id: I6e905cd5710a31c671702a6ad9f5711b251e1020 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/qdoc/doc.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/qdoc/doc.cpp b/src/qdoc/doc.cpp
index 61838b69c..0d5d059d6 100644
--- a/src/qdoc/doc.cpp
+++ b/src/qdoc/doc.cpp
@@ -1723,15 +1723,13 @@ bool DocParser::isAutoLinkString(const QString &word, int &curPos)
} else if (latin1Ch == '_' || latin1Ch == '@') {
++numStrangeSymbols;
++curPos;
- } else if ((latin1Ch == ':') &&
- (curPos < len - 1) &&
- (word.at(curPos + 1) == QLatin1Char(':'))) {
+ } else if ((latin1Ch == ':') && (curPos < len - 1)
+ && (word.at(curPos + 1) == QLatin1Char(':'))) {
++numStrangeSymbols;
curPos += 2;
} else if (latin1Ch == '(') {
if (curPos > startPos) {
- if ((curPos < len - 1) &&
- (word.at(curPos + 1) == QLatin1Char(')'))) {
+ if ((curPos < len - 1) && (word.at(curPos + 1) == QLatin1Char(')'))) {
++numStrangeSymbols;
pos += 2;
break;