diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-25 16:14:49 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-03-02 15:58:40 +0100 |
commit | c8e3bf290551328851cf628ce4a488a06b013ac2 (patch) | |
tree | 5dc4506bdc071db249151da4c5e6b4ae68f54797 /examples/charts/boxplotchart | |
parent | f93fc8561ea27b0c691492b19915aa72d3308e14 (diff) |
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: Ib453ad87f72f84e2d44cdf89a614abdc60651432
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/charts/boxplotchart')
-rw-r--r-- | examples/charts/boxplotchart/boxdatareader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/charts/boxplotchart/boxdatareader.cpp b/examples/charts/boxplotchart/boxdatareader.cpp index f634bd4e..b967512b 100644 --- a/examples/charts/boxplotchart/boxdatareader.cpp +++ b/examples/charts/boxplotchart/boxdatareader.cpp @@ -50,7 +50,7 @@ QBoxSet *BoxDataReader::readBox() //! [1] //! [2] - QStringList strList = line.split(" ", QString::SkipEmptyParts); + QStringList strList = line.split(QLatin1Char(' '), Qt::SkipEmptyParts); //! [2] //! [3] |