Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
KMix
Commits
c6d436f5
Commit
c6d436f5
authored
Feb 10, 2021
by
Jonathan Marten
Browse files
Port deprecated QString::SplitBehavior -> Qt::SplitBehavior
parent
30a84c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
gui/guiprofile.cpp
View file @
c6d436f5
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment