diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-20 15:55:23 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-20 17:22:07 +0000 |
commit | dc04694b92956dee8a33305d4bd8f0b10eb03ad3 (patch) | |
tree | 4b74f96f54f0e04a4db3ba8594f19f54bc56fdd4 | |
parent | 36eb21c7805c36ebb499822721e06b413d637ec1 (diff) |
qdoc: Fix QList::removeAll() invocations to build
After qtbase/3c74ba1f8b1052e684c67cbbb6f99eb4f7146f40, the type needs to
be specified.
Change-Id: Ic426e3088b14c9465d84acd760e35b9e87b0b231
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-rw-r--r-- | src/qdoc/docbookgenerator.cpp | 2 | ||||
-rw-r--r-- | src/qdoc/functionnode.cpp | 2 | ||||
-rw-r--r-- | src/qdoc/generator.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/qdoc/docbookgenerator.cpp b/src/qdoc/docbookgenerator.cpp index a32ce6f76..9b127ae26 100644 --- a/src/qdoc/docbookgenerator.cpp +++ b/src/qdoc/docbookgenerator.cpp @@ -2229,7 +2229,7 @@ void DocBookGenerator::generateLinkToExample(const ExampleNode *en, const QStrin // Construct a path to the example; <install path>/<example name> QStringList path = QStringList() << Config::instance().getString(CONFIG_EXAMPLESINSTALLPATH) << en->name(); - path.removeAll({}); + path.removeAll(QString()); writer->writeStartElement(dbNamespace, "para"); writer->writeStartElement(dbNamespace, "link"); diff --git a/src/qdoc/functionnode.cpp b/src/qdoc/functionnode.cpp index 9b5a8cec3..dc499efad 100644 --- a/src/qdoc/functionnode.cpp +++ b/src/qdoc/functionnode.cpp @@ -505,7 +505,7 @@ QString FunctionNode::signature(bool values, bool noReturnType, bool templatePar elements << templateDecl(); if (!noReturnType) elements << m_returnType; - elements.removeAll({}); + elements.removeAll(QString()); if (!isMacroWithoutParams()) { elements << name() + QLatin1Char('(') + m_parameters.signature(values) + QLatin1Char(')'); diff --git a/src/qdoc/generator.cpp b/src/qdoc/generator.cpp index cea19c996..81f0583f6 100644 --- a/src/qdoc/generator.cpp +++ b/src/qdoc/generator.cpp @@ -968,7 +968,7 @@ void Generator::generateLinkToExample(const ExampleNode *en, CodeMarker *marker, if (pathRoot.isEmpty()) pathRoot = Config::instance().getString(CONFIG_EXAMPLESINSTALLPATH); QStringList path = QStringList() << pathRoot << en->name(); - path.removeAll({}); + path.removeAll(QString()); Text text; text << Atom::ParaLeft |