summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2019-06-10 10:16:52 +0200
committerSamuel Gaist <samuel.gaist@idiap.ch>2019-06-10 10:16:52 +0200
commit20c6242c52f6ebff078d53fca8d0f69a1bcc6d89 (patch)
tree9494952b1d26fc1324b9ec6ef60a43a12ca3de1a /tests
parent743bc1254cee51e7c5578706d77cea9f0e06d945 (diff)
test: migrate highdpi manual test to QRegularExpression
This is part of the migration of qtbase from QRexExp to QRegularExpression. Task-number: QTBUG-72587 Change-Id: I0bb1d1409cb0c8f38b7582bb5ce6bbc2b047b6fc Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/highdpi/dragwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/highdpi/dragwidget.cpp b/tests/manual/highdpi/dragwidget.cpp
index 46a8ea8090..11bbc1d127 100644
--- a/tests/manual/highdpi/dragwidget.cpp
+++ b/tests/manual/highdpi/dragwidget.cpp
@@ -110,7 +110,7 @@ void DragWidget::dropEvent(QDropEvent *event)
{
if (event->mimeData()->hasText()) {
const QMimeData *mime = event->mimeData();
- QStringList pieces = mime->text().split(QRegExp("\\s+"),
+ QStringList pieces = mime->text().split(QRegularExpression("\\s+"),
QString::SkipEmptyParts);
QPoint position = event->pos();
QPoint hotSpot;