Commit 721cfb52 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated method

parent 876d6bc8
......@@ -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;
......
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