summaryrefslogtreecommitdiffhomepage
path: root/csv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-08 09:18:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-08 09:18:31 +0200
commitcec91e943ba14adcc3eceebcf97c2735429de4d3 (patch)
tree939db85c41ba49df3e9d10b70a249dd53f601c53 /csv
parent5cdbaa67c68e8c595ae1e1894eead76d465fe73c (diff)
csv: clang whines about qstringliteral
Diffstat (limited to 'csv')
-rw-r--r--csv/csv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index 9218bb80..47d152d4 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -24,8 +24,8 @@
using std::move;
const QTextCodec* CSV::m_codec = QTextCodec::codecForName("System");
-const QRegExp CSV::m_rx = QRegExp(QStringLiteral("((?:(?:[^;\\n]*;?)|(?:\"[^\"]*\";?))*)?\\n?"));
-const QRegExp CSV::m_rx2 = QRegExp(QStringLiteral("(?:\"([^\"]*)\";?)|(?:([^;]*);?)?"));
+const QRegExp CSV::m_rx = QRegExp(QString("((?:(?:[^;\\n]*;?)|(?:\"[^\"]*\";?))*)?\\n?"));
+const QRegExp CSV::m_rx2 = QRegExp(QString("(?:\"([^\"]*)\";?)|(?:([^;]*);?)?"));
CSV::CSV(QIODevice* device) :
m_device(device),