From c50d6b8aeee21a42b1cb1ef37362d69791abb3e6 Mon Sep 17 00:00:00 2001 From: Sune Vuorela Date: Thu, 13 Apr 2023 14:29:54 +0200 Subject: [PATCH] Fix a deprecation warning --- core/form.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;