diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-10 18:43:23 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-07-11 10:39:04 +0200 |
commit | 5c7733d5c5564a64468c5fdd5e8bd29cc131784c (patch) | |
tree | 3b48a02abf60d56bf9c383f1d081bb8549d32950 /src/scripttools/debugging/qscriptxmlparser.cpp | |
parent | 3880777ff260a660434d36d6f63da6fd1c25d79d (diff) | |
download | qtscript-5c7733d5c5564a64468c5fdd5e8bd29cc131784c.tar.gz |
Bump Qt version to Qt 6
And also fix usages of removed API.
Change-Id: Ifbbe08a202ed19b5969781f66240174ef816269e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/scripttools/debugging/qscriptxmlparser.cpp')
-rw-r--r-- | src/scripttools/debugging/qscriptxmlparser.cpp | 2 |
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 |