diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-11-28 17:02:58 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-12-12 19:28:57 +0100 |
commit | 12b49b0d394504d671c944359690066fefd88984 (patch) | |
tree | dfc364f67f085223cf2722fb9ff31afb324b8a8d /src/qdoc/config.h | |
parent | 37a8e5abc6f6a15fd3835bdc0c0bee5efb2334aa (diff) |
QDoc: Use QVector instead of QList
Replace the use of QVector in most of QDoc.
Also, remove one redundant C-style cast to int for result from method
call that returns an int. As this happened in a macro, the result is
removing a whole bunch of nagging from code inspection.
Fixes: QTBUG-80669
Change-Id: Ib1aed95e01eaddd1e1213a145e815a0c4753ac67
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/qdoc/config.h')
-rw-r--r-- | src/qdoc/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/config.h b/src/qdoc/config.h index 61ed53d87..7006f002a 100644 --- a/src/qdoc/config.h +++ b/src/qdoc/config.h @@ -100,7 +100,7 @@ public: QStringList getStringList(const QString &var) const; QStringList getCanonicalPathList(const QString &var, bool validate = false) const; QRegExp getRegExp(const QString &var) const; - QList<QRegExp> getRegExpList(const QString &var) const; + QVector<QRegExp> getRegExpList(const QString &var) const; QSet<QString> subVars(const QString &var) const; void subVarsAndValues(const QString &var, ConfigVarMultimap &t) const; QStringList getAllFiles(const QString &filesVar, |