diff options
author | Martin Smith <martin.smith@qt.io> | 2018-02-22 14:05:45 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-02-23 11:43:56 +0000 |
commit | a40749199be276aa89fcb4c171c4943a581d91de (patch) | |
tree | 29872c00573d45c491016c8e412b74788855cdfc | |
parent | 88472204d6ffd36eca05c88fb15233e9e8b94aa4 (diff) |
qdoc: Remove a useless #ifdef
QDOC2_COMPAT is no longer meaningful.
Change-Id: I7ba96cef2002ffeaccb333d4938f9f415569850a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/qdoc/doc.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/qdoc/doc.cpp b/src/qdoc/doc.cpp index 4f6383352..d4d800024 100644 --- a/src/qdoc/doc.cpp +++ b/src/qdoc/doc.cpp @@ -1852,17 +1852,6 @@ void DocParser::parseAlso() else { str = target; } -#ifdef QDOC2_COMPAT - } - else if (input_[pos] == '\\' && input_.mid(pos, 5) == "\\link") { - pos += 6; - target = getArgument(); - int endPos = input_.indexOf("\\endlink", pos); - if (endPos != -1) { - str = input_.mid(pos, endPos - pos).trimmed(); - pos = endPos + 8; - } -#endif } else { target = getArgument(); |