Fix a deprecation warning

remotes/origin/work/sune/clarify-ownership-and-memleaks
Sune Vuorela 3 years ago
parent 7c2c9a1231
commit c50d6b8aee
  1. 2
      core/form.cpp

@ -242,7 +242,7 @@ public:
void setValue(const QString &v) override void setValue(const QString &v) override
{ {
Q_Q(FormFieldChoice); Q_Q(FormFieldChoice);
const QStringList choices = v.split(QLatin1Char(';'), QString::SkipEmptyParts); const QStringList choices = v.split(QLatin1Char(';'), Qt::SkipEmptyParts);
QList<int> newchoices; QList<int> newchoices;
for (const QString &str : choices) { for (const QString &str : choices) {
bool ok = true; bool ok = true;

Loading…
Cancel
Save