summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptxmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptxmlparser.cpp')
-rw-r--r--src/scripttools/debugging/qscriptxmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptxmlparser.cpp b/src/scripttools/debugging/qscriptxmlparser.cpp
index 2cf8c85..a29b69e 100644
--- a/src/scripttools/debugging/qscriptxmlparser.cpp
+++ b/src/scripttools/debugging/qscriptxmlparser.cpp
@@ -168,7 +168,7 @@ QScriptXmlParser::Result QScriptXmlParser::parse(const QString &xml)
reader.readNext(); // </program>
reader.readNext(); // EndDocument
Q_ASSERT(reader.atEnd());
- return Result(functionsInfo, lineNumbers.toSet());
+ return Result(functionsInfo, QSet<int>(lineNumbers.begin(), lineNumbers.end()));
}
QT_END_NAMESPACE