launcher/prompts.cpp

changeset 66
c68545f1aecb
parent 52
7dcfac8a9f17
child 67
c34057d3c94e
--- 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);

mercurial