Commit c6d436f5 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Port deprecated QString::SplitBehavior -> Qt::SplitBehavior

parent 30a84c62
......@@ -623,7 +623,12 @@ void ProfControl::setSubcontrols(const QString &sctls)
_useSubcontrolCaptureSwitch = false;
_useSubcontrolEnum = false;
#if QT_VERSION>=QT_VERSION_CHECK(5, 14, 0)
QStringList qsl = sctls.split( ',', Qt::SkipEmptyParts, Qt::CaseInsensitive);
#else
QStringList qsl = sctls.split( ',', QString::SkipEmptyParts, Qt::CaseInsensitive);
#endif
QStringListIterator qslIt(qsl);
while (qslIt.hasNext()) {
QString sctl = qslIt.next();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment