Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
Knights
Commits
721cfb52
Commit
721cfb52
authored
Jul 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port deprecated method
parent
876d6bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/gamedialog.cpp
src/gamedialog.cpp
+4
-0
No files found.
src/gamedialog.cpp
View file @
721cfb52
...
...
@@ -324,7 +324,11 @@ void GameDialog::loadEngines() {
QStringList
programs
;
QList
<
EngineConfiguration
>
configs
;
for
(
const
QString
&
s
:
Settings
::
engineConfigurations
())
{
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const
QStringList
l
=
s
.
split
(
QLatin1Char
(
':'
),
QString
::
SkipEmptyParts
);
#else
const
QStringList
l
=
s
.
split
(
QLatin1Char
(
':'
),
Qt
::
SkipEmptyParts
);
#endif
EngineConfiguration
e
=
EngineConfiguration
(
s
);
if
(
!
e
.
name
.
isEmpty
())
{
programs
<<
e
.
name
;
...
...
Write
Preview
Markdown
is supported
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