summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/generator.cpp
diff options
context:
space:
mode:
authorThe Qt Project <gerrit-noreply@qt-project.org>2020-02-12 08:47:47 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2020-02-12 08:47:47 +0000
commitf4a52b79ced0726b207c1af8c12ada1f8be12ff0 (patch)
treed11ec8434ee3c61ddc1f0d04009cfc478ec05af5 /src/tools/moc/generator.cpp
parent99da0c164b02dca8f556c3186231e6b0723c532c (diff)
parentc53f8c038c0736aeb208bcd69bf3b5e2816c29ae (diff)
Merge "Merge remote-tracking branch 'origin/dev' into wip/cmake" into wip/cmake
Diffstat (limited to 'src/tools/moc/generator.cpp')
-rw-r--r--src/tools/moc/generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/moc/generator.cpp b/src/tools/moc/generator.cpp
index f41b0e8ba4..93bc4d8c4e 100644
--- a/src/tools/moc/generator.cpp
+++ b/src/tools/moc/generator.cpp
@@ -476,7 +476,7 @@ void Generator::generateCode()
QByteArray unqualifiedScope = p.type.left(s);
// The scope may be a namespace for example, so it's only safe to include scopes that are known QObjects (QTBUG-2151)
- QHash<QByteArray, QByteArray>::ConstIterator scopeIt;
+ QMultiHash<QByteArray, QByteArray>::ConstIterator scopeIt;
QByteArray thisScope = cdef->qualified;
do {