diff options
| author | Samuel Gaist <[email protected]> | 2019-06-10 10:16:52 +0200 |
|---|---|---|
| committer | Samuel Gaist <[email protected]> | 2019-06-10 10:16:52 +0200 |
| commit | 20c6242c52f6ebff078d53fca8d0f69a1bcc6d89 (patch) | |
| tree | 9494952b1d26fc1324b9ec6ef60a43a12ca3de1a /tests/manual/highdpi/dragwidget.cpp | |
| parent | 743bc1254cee51e7c5578706d77cea9f0e06d945 (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 <[email protected]>
Diffstat (limited to 'tests/manual/highdpi/dragwidget.cpp')
| -rw-r--r-- | tests/manual/highdpi/dragwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/highdpi/dragwidget.cpp b/tests/manual/highdpi/dragwidget.cpp index 46a8ea8090a..11bbc1d127c 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; |
