diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-25 15:31:24 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-03-02 15:57:47 +0100 |
commit | 36300dd06bb8191800ec93ca5a408f39b1f221eb (patch) | |
tree | bd8373ac63c9abdf8476922c7dfda1c9f6324a33 /tests | |
parent | 3a358430efe797fe1c0f1aa7f701f9139a642d6f (diff) | |
download | qtscript-36300dd06bb8191800ec93ca5a408f39b1f221eb.tar.gz |
Use Qt::SplitBehavior in preference to QString::SplitBehaviorv5.15.0-beta4v5.15.0-beta3v5.15.0-beta2
The Qt version was added in 5.14 "for use as eventual replacement for
QString::SplitBehavior." Move another step closer to that goal.
Change-Id: I10d928ac4368e07a52a92ef92bf501ba28d9b667
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qscriptv8testsuite/abstracttestsuite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp index b79e4ec..3fb1e59 100644 --- a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp +++ b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp @@ -150,7 +150,7 @@ void TestConfigParser::parse(const QString &path, } } else { if (predicate.isEmpty() || isDefined(predicate)) { - QStringList parts = line.split(separator, QString::KeepEmptyParts); + QStringList parts = line.split(separator, Qt::KeepEmptyParts); for (int i = 0; i < parts.size(); ++i) parts[i] = unescape(parts[i]); client->configData(mode, parts); |