--- a/launcher/prompts.cpp Sun Nov 28 23:47:55 2021 +0200 +++ b/launcher/prompts.cpp Sun Nov 28 23:53:23 2021 +0200 @@ -69,7 +69,7 @@ void UnknownVersionPrompt::addBinary() { - ZandronumVersion version (m_binaryString, m_isRelease, ui->m_binaryPath->text()); + const ZandronumVersion version {m_binaryString, ui->m_binaryPath->text(), m_isRelease}; QList<QVariant> versions = Config::get ("versions").toList(); QVariant var; var.setValue (version);