diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-25 15:46:40 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-03-02 15:57:24 +0100 |
commit | 782a097d8950dca2620a8952856864ede62b0b59 (patch) | |
tree | 15b473ab9515b208f6cc72e851baefd46dcfb40d /tests | |
parent | 281a2dc91e96ffc833f85faf05c73eddc5bac645 (diff) |
Use Qt::SplitBehavior in preference to QString::SplitBehavior
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: I7137cf8339bfe9fdcf4cb7cc695cb146aef410fb
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/windeployqt/tst_windeployqt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/windeployqt/tst_windeployqt.cpp b/tests/auto/windeployqt/tst_windeployqt.cpp index f20e59180..04aece287 100644 --- a/tests/auto/windeployqt/tst_windeployqt.cpp +++ b/tests/auto/windeployqt/tst_windeployqt.cpp @@ -152,7 +152,7 @@ void tst_windeployqt::deploy() const QChar pathSeparator(QLatin1Char(';')); // ### fixme: Qt 5.6: QDir::listSeparator() const QString origPath = env.value(pathKey); QString newPath; - const QStringList pathElements = origPath.split(pathSeparator, QString::SkipEmptyParts); + const QStringList pathElements = origPath.split(pathSeparator, Qt::SkipEmptyParts); for (const QString &pathElement : pathElements) { if (pathElement.compare(qtBinDir, Qt::CaseInsensitive) && !pathElement.contains(QLatin1String("\\lib"), Qt::CaseInsensitive)) { |