diff options
-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 |