diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp index 65c9c3ca3..c60958479 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp @@ -91,7 +91,7 @@ void CMainWindow::onPlayClicked() QStringList arguments; arguments << "-p"; - arguments << QString::number(profileIndex); + arguments << profile.id; arguments << profile.arguments.split(' '); bool started = QProcess::startDetached(executable, arguments); @@ -115,7 +115,7 @@ void CMainWindow::onConfigureClicked() QStringList arguments; arguments << "-p"; - arguments << QString::number(profileIndex); + arguments << profile.id; bool started = QProcess::startDetached(executable, arguments);