diff --git a/core/form.cpp b/core/form.cpp index b042c889d..086360169 100644 --- a/core/form.cpp +++ b/core/form.cpp @@ -242,7 +242,7 @@ public: void setValue(const QString &v) override { Q_Q(FormFieldChoice); - const QStringList choices = v.split(QLatin1Char(';'), QString::SkipEmptyParts); + const QStringList choices = v.split(QLatin1Char(';'), Qt::SkipEmptyParts); QList newchoices; for (const QString &str : choices) { bool ok = true;