From a9540fb9d1d8266203d30a01cd9ecb380ff70db3 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 11 Jun 2016 17:04:19 +0200 Subject: [PATCH] Changed: Use profile ID instead of index for -p parameter --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);