[Qt6] Switch to Qt::SkipEmptyParts to fix deprecation warning

This commit is contained in:
G.K.MacGregor
2023-08-20 18:50:55 +01:00
parent 86e2856d50
commit fe53cabee1

View File

@@ -124,7 +124,7 @@ void PageComposeLinksDockWidget::setComposeLinkSubPageNumbers(int linkNumber, co
if (!newSubPagesString.isEmpty()) {
// Turn user-entered comma separated subpages and subpage-ranges into bits
// First we do the "comma separated"
const QStringList items = newSubPagesString.split(QLatin1Char(','), QString::SkipEmptyParts);
const QStringList items = newSubPagesString.split(QLatin1Char(','), Qt::SkipEmptyParts);
// Now see if there's valid single numbers or ranges between the commas
for (const QString &item : items) {
if (item.isEmpty())