forked from qt-creator/qt-creator
Utils: Drop Utils::SkipEmptyParts again
We require Qt 5.14 nowadays. Change-Id: Iff245257d3cb19207007c0445ee13814e66152dd Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -287,7 +287,7 @@ void GraphicsScene::paste(const QPointF &targetPos)
|
||||
QString strMinPos = QLatin1String(mimeData->data("StateChartEditor/CopiedMinPos"));
|
||||
QPointF minPos(0, 0);
|
||||
if (!strMinPos.isEmpty()) {
|
||||
QStringList coords = strMinPos.split(":", Utils::SkipEmptyParts);
|
||||
QStringList coords = strMinPos.split(":", Qt::SkipEmptyParts);
|
||||
if (coords.count() == 2)
|
||||
minPos = QPointF(coords[0].toDouble(), coords[1].toDouble());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user